|
@ -1,7 +1,15 @@ |
|
|
import { defineConfig } from 'vite' |
|
|
import { defineConfig } from 'vite' |
|
|
|
|
|
import { resolve } from 'path' |
|
|
import vue from '@vitejs/plugin-vue' |
|
|
import vue from '@vitejs/plugin-vue' |
|
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
// https://vitejs.dev/config/
|
|
|
export default defineConfig({ |
|
|
export default defineConfig({ |
|
|
|
|
|
resolve: { |
|
|
|
|
|
alias: { |
|
|
|
|
|
'@': resolve(__dirname, 'src'), |
|
|
|
|
|
cpns: resolve(__dirname, 'src/components'), |
|
|
|
|
|
}, |
|
|
|
|
|
extensions: ['.js', '.json', '.vue'], |
|
|
|
|
|
}, |
|
|
plugins: [vue()], |
|
|
plugins: [vue()], |
|
|
}) |
|
|
}) |