How to generate a project Nuxt.js that would open locally via file uri?

Hi!
nuxt generate collects all the styles, images and scripts and the page is opened locally (file uri) — get a page without images and scripts. Well, fixing the paths to images and scripts /_nuxt on ./_nuxt images appear, and the scripts are not working.

If you open the http Protocol, for example by running in a folder the web server (cd ~/nuxt/dist; php -S localhost:8000) then scripts are loaded and everything works perfectly.
March 23rd 20 at 18:50
0 answer

Find more questions by tags Vue.js