refactor: add host true
This commit is contained in:
@@ -1,18 +1,19 @@
|
|||||||
import { fileURLToPath, URL } from 'node:url'
|
import { fileURLToPath, URL } from "node:url";
|
||||||
|
|
||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from "vite";
|
||||||
import vue from '@vitejs/plugin-vue'
|
import vue from "@vitejs/plugin-vue";
|
||||||
import vueJsx from '@vitejs/plugin-vue-jsx'
|
import vueJsx from "@vitejs/plugin-vue-jsx";
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [vue(), vueJsx()],
|
||||||
vue(),
|
resolve: {
|
||||||
vueJsx(),
|
alias: {
|
||||||
],
|
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
||||||
resolve: {
|
},
|
||||||
alias: {
|
},
|
||||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
server: {
|
||||||
}
|
port: 3000,
|
||||||
}
|
host: true,
|
||||||
})
|
},
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user