To create a project, I used vue-cli. By running the 'npm run build' command, I got a ready-to-use build. enter image description here

Running the index.html file in the browser, I saw an empty window:

enter image description here

The contents of my index.html file. It seems that there are no errors:

<!DOCTYPE html> <html lang=ru> <head> <meta charset=utf-8> <title>cv</title> <style type=text/css> html, body{ width: 100%; height: 100%; }</style> <link href='/static/css/app.b3ceb6191281c6a4dd333aa0b8aed7cd.css' rel=stylesheet> </head> <body> <div id=app> </div> <script type=text/javascript src='/static/js/manifest.488e7f096afe65619705.js'></script> <script type=text/javascript src='/static/js/vendor.fa2e9b388f427a714cca.js'></script> <script type=text/javascript src='/static/js/app.d3d1742ab1cad95402a6.js'></script> </body> </html> 

What needs to be done to display the index.html file in the browser?

  • one
    questions are asked here in Russian - Sublihim
  • nothing ... just double click on this file should run index.html in browser. When u tried to run it? - Oleksandr
  • @Oleksandr I added picture with browser massage. Pleas look on it. - Evgeniy Miroshnichenko
  • @EvgeniyMiroshnichenko your index.html file doesn’t find js and css files. Lokk into your path in .html file to them. Is it correct? - Oleksandr
  • Rewrite the question in Russian, you are on the special Russian site stackexchange. - etki

1 answer 1

The index.html path must be specified as ./static/...