Home > Web Front-end > Vue.js > body text

How to set the title icon in vue project? (Detailed explanation with pictures and text)

青灯夜游
Release: 2021-02-12 09:15:07
forward
4082 people have browsed it

How to set the title icon in the vue project? The following article will introduce to you how to set the title icon in the vue project. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

How to set the title icon in vue project? (Detailed explanation with pictures and text)

Related recommendations: "vue.js Tutorial"

Introduce this sentence in the head of the project index.html:

Copy after login

Put the favicon.ico file in the project root directory, at the same level as index.html.

Find the two files webpack.dev.conf.js and webpack.prod.conf.js in the project build folder. Add the statements in the red box below in the corresponding places.

How to set the title icon in vue project? (Detailed explanation with pictures and text)

Save it.

For more programming-related knowledge, please visit: Programming Teaching! !

The above is the detailed content of How to set the title icon in vue project? (Detailed explanation with pictures and text). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
vue
source:csdn.net
Statement of this Website
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 [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!