Updated vue and vuex to vue 3 and vuex 4 Replaced vue-cli with vite Removing a whole bunch of dependencies in the process
17 lines
280 B
JavaScript
17 lines
280 B
JavaScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
|
|
const path = require("path");
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
server: {
|
|
host: '127.0.0.1'
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
})
|