feat(frontend): Align admin and user API integration

This commit is contained in:
2026-04-18 18:21:31 +08:00
parent 3adb088eca
commit 2247d235ec
74 changed files with 8626 additions and 647 deletions
+8 -1
View File
@@ -14,7 +14,7 @@ export default defineConfig({
AutoImport({
imports: ['vue', 'vue-router', 'pinia'],
dts: 'src/auto-imports.d.ts',
dirs: ['src/stores', 'src/composables'],
dirs: ['src/composables'], // 只扫描 composables,stores 使用显式导入
vueTemplate: true
}),
Components({
@@ -39,6 +39,13 @@ export default defineConfig({
}
}
},
css: {
preprocessorOptions: {
scss: {
silenceDeprecations: ['legacy-js-api'] // 静默 Sass legacy API 弃用警告
}
}
},
build: {
target: 'es2015',
outDir: 'dist',