diff --git a/vite.config.js b/vite.config.js index 4d9f38e480aec8991479dec23b9743317a9179de..9e67545d550e22026cd8878edb483e83b4568d1f 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,28 +1,11 @@ -// import { defineConfig } from 'vite' -// import vue from '@vitejs/plugin-vue' - -// // https://vitejs.dev/config/ -// export default defineConfig({ -// server: { -// host: true -// }, -// plugins: [vue()] -// }) - - -import { fileURLToPath, URL } from 'node:url' - import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ - plugins: [ - vue(), - ], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) - } - } + server: { + host: true + }, + plugins: [vue()] }) +