krasimir / navigo

A simple vanilla JavaScript router.
MIT License
2.75k stars 250 forks source link

I'm trying to compile a website with navigo using VITE #332

Open gramderpdp4 opened 1 year ago

gramderpdp4 commented 1 year ago

I'm trying to compile a site with navigo using VITE, but the routes don't work. Only the "/" route works, the others show the message "cannot get"

Navigo versão 8.11.1

krasimir commented 1 year ago

Hey @gramderpdp4,

Navigo is meant to be used on the client only. Is it like you are using it on the node.js side?