0👍
✅
My apologies. I read it in the documentation, but didn’t understand it. You cannot simply use an <a href=""> tag to link html files together. You have to use either Pages or Vue Router. I used Vue Router and fixed my files. They now displayed correctly when I used ‘serve -s dist’ in the terminal for a preview and on my personal website. There is a great video on Vue Router here.
0👍
I’m strongly sure vite made its work and build the app.
I tried opening the index.html file from the /dist folder
It won’t work that way.
You have to host your app by any web server, for example nginx or IIS.
Can you please show your src folder?
Source:stackexchange.com