How to use the routesFolder option #300
-
Hi, I understand from the README that this vue router plugin scans the 'src/pages' folder, may I know how can I change this configuration so that it scans other folders i.e. 'src/views' ? |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Jan 23, 2024
Replies: 1 comment 3 replies
-
You just put that path instead of src/pages https://github.com/posva/unplugin-vue-router#configuration |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It depends on what you use, for Vite, it's
You have the other examples in the readme, collapsed.