@@ -3,7 +3,8 @@
"version": "0.0.0",
"scripts": {
"dev": "vite",
- "build": "vite build"
+ "build": "vite build",
+ "serve": "vite preview"
},
"dependencies": {
"axios": "^0.21.1",
@@ -14,7 +15,8 @@
"vuex": "^4.0.0-rc.2"
"devDependencies": {
+ "@vitejs/plugin-vue": "^1.1.5",
"@vue/compiler-sfc": "^3.0.5",
- "vite": "^1.0.0-rc.13"
+ "vite": "^2.0.5"
}
@@ -1,5 +1,6 @@
-module.exports = {
- open: true,
- https: false,
- port: 81,
-}
+import { defineConfig } from 'vite'
+import vue from '@vitejs/plugin-vue'
+
+export default defineConfig({
+ plugins: [vue()],
+})