nginx - vuejs blank page after npm run build -


i faced problem in vue.js spa project when upload in server.

when run npm run dev works after run npm run build , upload server project has blank page. favicon , title work fine. when run npm run build got message

"tip: built files meant served on http server. opening index.html on file:// won't work."

if manually refer project resources in index.html, page display it's contents vue-router doesn't work.

i appreciate if can suggest solutions rid off problem.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -