Is it possible to generate typed-router.d.ts
without launching dev server?
#253
kingyue737
started this conversation in
Ideas
Replies: 2 comments
-
It’s currently not possible but I would like to have something like this. I think I asked about it in unplugin (we need to run the things through the vite pipeline). There is maybe something that can be copied from nuxt |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, I have curiosity about this. In nuxt we can use Or is this question related to pure Vue project? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to generate type declarations in
postinstall
hook likenuxt prepare
. Then types will be updated once I runpnpm update
and I can safely exclude auto-generated files from repo.Beta Was this translation helpful? Give feedback.
All reactions