search

Home  >  Q&A  >  body text

How to implement a multi-page website using pure Javascript, frameless Vite

<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>
P粉495955986P粉495955986475 days ago494

reply all(1)I'll reply

  • P粉198670603

    P粉1986706032023-08-10 10:40:51

    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

    reply
    0
  • Cancelreply