Skip to content

[SOLVED] Adding in Quasar with Vite #75

Closed Answered by angelhdzmultimedia
angelhdzmultimedia asked this question in Q&A
Discussion options

You must be logged in to vote

Solved

typed-router.d.ts was there. That's why I was so confused because I was following the guide step by step, even the TypeScript section.

The issue was vitePlugins array in Quasar configuration. It didn't accept the package import as vitePlugins: [ [ require("unplugin-vue-router/vite") ] ]. I changed it to vitePlugins: [ [ "unplugin-vue-router/vite" ] ] and it worked right away.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by angelhdzmultimedia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants