11 lines
248 B
JavaScript
11 lines
248 B
JavaScript
|
import { defineConfig } from 'vite'
|
||
|
import vue from '@vitejs/plugin-vue'
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [vue()],
|
||
|
server: { // ← ← ← ← ← ←
|
||
|
host: '0.0.0.0' // ← 新增内容 ←
|
||
|
}
|
||
|
})
|