Skip to content

Commit

Permalink
fix(vite.config): correct autoimport name space
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Mar 10, 2024
1 parent 7bb5d6d commit 6dada34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/typescript/essentials/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default defineConfig({
imports: [
'vue',
{
'vue-router-auto': ['useRoute', 'useRouter'],
'vue-router/auto': ['useRoute', 'useRouter'],
}
],
dts: 'src/auto-imports.d.ts',
Expand Down

0 comments on commit 6dada34

Please sign in to comment.