auto imports.

This commit is contained in:
2023-04-12 18:43:57 +08:00
parent d46d371cf5
commit 965de2f069
2 changed files with 44 additions and 0 deletions

View File

@@ -73,7 +73,13 @@ export default defineConfig({
"useLoadingBar",
],
},
{
from: "vue-router",
imports: ["RouteLocationRaw"],
type: true,
},
],
dirs: ["./src/utils"],
dts: "./src/auto-imports.d.ts",
}),
Components({