Code above which stayed at src/router.ts can automatically load all routes from views directory, consider remove a .vue file from src/views
Reproduce link
No response
What is actually happening?
[ Farm ] Error: Failed to start the server
Caused by: Error: Can not resolve `./views/account/pro.vue` from src/router.ts.
Original error: None.
Potential Causes:
1.The file that `./views/account/pro.vue` points to does not exist.
2.Install it first if `./views/account/pro.vue` is an dependency from node_modules, if you are using pnpm refer to [https://pnpm.io/faq#pnpm-does-not-work-with-your-project-here] for solutions.
3. If `./views/account/pro.vue` is a alias, make sure your alias config is correct.
Steps to reproduce
Code above which stayed at
src/router.ts
can automatically load all routes fromviews
directory, consider remove a.vue
file fromsrc/views
Reproduce link
No response
What is actually happening?
System Info