forked from SOSD/SOSDfe_dev
feat(routers): update routers and vuex
This commit is contained in:
@@ -1,7 +1,24 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue2'
|
||||
import path, { resolve } from 'path';
|
||||
import autoprefixer from 'autoprefixer';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
css: {
|
||||
postcss: {
|
||||
plugins: [
|
||||
autoprefixer(),
|
||||
],
|
||||
},
|
||||
},
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, './src'),
|
||||
},
|
||||
},
|
||||
define: {
|
||||
"process.env.BASE_URL": "'/'"
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user