How to implement a multi-page website using pure Javascript, frameless Vite
P粉495955986
2023-08-09 16:09:38
<p>I'm trying to build a simple website using vite, which has three pages. When I run the command "npm run build" only the homepage file is put into the dist folder and when I host it the other pages are not working/opening.
I don't use any framework, but use native js for development. Now, do I need to modify the js file to make it work or is there any other way.
If you have an issue with this please let me know and I will explain further. </p>
It sounds like you are trying to build a multi-page website using Vite and pure JavaScript. You can also create a multi-page layout