Home  >  Article  >  Web Front-end  >  Detailed explanation of reference path after vue.js is published

Detailed explanation of reference path after vue.js is published

php中世界最好的语言
php中世界最好的语言Original
2018-04-19 10:24:061266browse

This time I will bring you a detailed explanation of the reference path after vue.js is released. What are the precautions for the reference path after vue.js is released. The following is a practical case, let's take a look.

When publishing to the iis directory, there will be no problem if it is placed in the root directory of the website

But once it is placed in other folders other than the root directory, the js and css file paths referenced in index.html will not be found

Open the index.html file and find that the file path referenced in it is incorrect

Here you only need to change the config/index.js configuration

This also depends on the specific circumstances of the current environment.

If you also encounter such a problem, I hope it will be helpful to you

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the PHP Chinese website!

Recommended reading:

vue implements the function of clicking on the picture to enlarge it (with code)

Real-time acquisition of the input input box content

Detailed explanation of the use of nested single and double quotes in JS

JS implementation of data validation and check box form submission

The above is the detailed content of Detailed explanation of reference path after vue.js is published. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn