0👍
Do you possibly have your "TestPage" component in a different directory than "HomePage"?
I’m not entirely sure but if you’ve created another directory within the "Pages" directory, you will need to specify in the main.ts to look for other files to render like the following:
resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue'))
Source:stackexchange.com