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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -