Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

shadkamel's avatar

run a Vue js project without server

hello every one, could a Vue js project run without any server like npm run dev or online servers, please ?

0 likes
2 replies
OussamaMater's avatar

Yes sure thing, you need to build the project, and since it's a vue project only, it does not any server to process the requests or do any kind of logic, it can be run directly on the browser, and or you to expose it publicly, you have multiple choices:

I would go with Github Pages, I feel like it's much simpler (even though the other options are quite simple too), and currently using it to host my portfolio which is built with Vue and Vite, so your use case.

If you are wondering about the custom domain, you can get any domain from any provider, and tell Github to use it instead of the default github.io domain, all the choices above have this option, but I think they require you to upgrade the plan.

Please or to participate in this conversation.