How to implement a multi-page website using pure Javascript, frameless Vite
P粉495955986
P粉495955986 2023-08-09 16:09:38
0
1
436

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粉495955986
P粉495955986

reply all (1)
P粉198670603

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

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!