fix(base url fix): fix base url

This commit is contained in:
pengYYY 2021-12-23 10:19:43 +08:00
parent 009ddd1923
commit 0526b922a5

View File

@ -8,7 +8,7 @@ import path from 'path';
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
base: './', base: '/starter/vue-next/',
resolve: { resolve: {
alias: { alias: {
'@': path.resolve(__dirname, './src'), '@': path.resolve(__dirname, './src'),