🎨 use alova / add nprogress

This commit is contained in:
landaiqing
2024-08-08 23:45:51 +08:00
parent 562071cdc5
commit c13613ec07
18 changed files with 533 additions and 252 deletions

View File

@@ -105,7 +105,7 @@ export default defineConfig(({mode}: { mode: string }): object => {
assetFileNames: '[ext]/[name]-[hash].[ext]' ,// 资源文件像 字体,图片等
manualChunks(id: string){
if (id.includes('node_modules')) {
return id.toString().split('node_modules/')[1].split('/')[0].toString();
return "vendor";
}
}
},