Answer the question
In order to leave comments, you need to log in
How to set file paths when building a vue-cli-service project?
There is a project on vue.js, I work in PHPStorm IDE. I build the project with the vue-cli-service build command (written in package.json - "build": "vue-cli-service build"). When building, everything falls into the dist directory (by default) and the paths to styles and scripts, respectively, are written relative to the index.html file to the css and js folders. That is something like:
<link href=/css/app.0d3ea108.css rel=preload as=style>
<link href=/calc/css/app.0d3ea108.css rel=preload as=style>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question