vitepress icon indicating copy to clipboard operation
vitepress copied to clipboard

Document: `defineRoutes` is not mentioned anywhere except in the source code

Open hyf0 opened this issue 2 months ago • 0 comments

I'm using Dynamic Routes, which is quite an important feature I think. But when I try to define typed routes, I basically failed.

Litteraly no where mentions about the usage of defineRoutes.

Image

I have to find how to define a typed dynamic routes from looking at the test code.

Image

With knowing the answer now, let's see the google result

Image

hyf0 avatar Oct 21 '25 11:10 hyf0