Open Keremunce opened 2 years ago
This would better fit into a discussion. You are also always welcome to ask question on the discord at chat.vuejs.org
To answer your question: public/index.html only contains a template, which has to be filled before being usable. You can however run npm run build
to generate a purely static version in the dist
folder and then open dist/index.html
.
Version
5.0.0-rc.1
Reproduction link
github.com
Environment info
Steps to reproduce
Can open app with index.html
What is expected?
I wanna viewing my app on index.html(dist or public) without
npm run serve
. If I cant WHY? pls, tell me why. thxWhat is actually happening?
Work on
npm run serve
but doesn't work index.html without node server