You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After cloning and installing dependencies, run $ ./node_modules/.bin/vue-cli-service build ./src/index.ts in the project root directory. This should generate dist/index.html and app/vendor bundles under dist/js. Open dist/index.html in a browser and confirm it gets 404s trying to load the bundles.
What is expected?
dist/index.html to be generated where it references the bundles as relative paths:
Are you trying to open the page directly from your file explorer? If so, it won't work since you are not on a real HTTP server. To test your deploy locally, you can use for example this small utility which can expose your files in an HTTP server on localhost just like if you would have uploaded them on a real server.
Version
3.0.0-rc.1
Reproduction link
TAGC/vue-expandable-grid@fe08cb8
Steps to reproduce
After cloning and installing dependencies, run
$ ./node_modules/.bin/vue-cli-service build ./src/index.ts
in the project root directory. This should generatedist/index.html
and app/vendor bundles underdist/js
. Opendist/index.html
in a browser and confirm it gets 404s trying to load the bundles.What is expected?
dist/index.html
to be generated where it references the bundles as relative paths:What is actually happening?
The HTML file gets generated referencing the bundles at invalid absolute paths:
Manually changing the absolute paths to relative paths after generating the HTML file causes the JS bundles to be loaded successfully.
The text was updated successfully, but these errors were encountered: