Vue 修改網(wǎng)站圖標(biāo)的方法


<!DOCTYPE html><html> <head> <meta charset='utf-8'> <meta name='viewport' content='width=device-width,initial-scale=1.0'> <link rel='icon' type='image/x-icon' href='http://www.leifengta.com.cn/bcjs/static/favicon.ico' rel='external nofollow' > <title>網(wǎng)站名稱</title> </head> <body> <div id='app'></div> <!-- built files will be auto injected --> </body></html>3、如果有新開頁面無法顯示圖標(biāo)問題,修改bulid下的webpack.dev.conf.js文件


new HtmlWebpackPlugin({ filename: ’index.html’, template: ’index.html’, inject: true, favicon:’static/favicon.ico’//新增 }),4、這個(gè)時(shí)候再重新啟動(dòng)一次項(xiàng)目就好啦
以上就是Vue 修改網(wǎng)站圖標(biāo)的方法的詳細(xì)內(nèi)容,更多關(guān)于Vue 修改網(wǎng)站圖標(biāo)的資料請(qǐng)關(guān)注好吧啦網(wǎng)其它相關(guān)文章!
相關(guān)文章:
1. Android table布局開發(fā)實(shí)現(xiàn)簡(jiǎn)單計(jì)算器2. IntelliJ IDEA安裝插件的方法步驟3. 理解PHP5中static和const關(guān)鍵字4. php模擬實(shí)現(xiàn)斗地主發(fā)牌5. spring acegi security 1.0.0 發(fā)布6. MyBatis中的JdbcType映射使用詳解7. vue 使用localstorage實(shí)現(xiàn)面包屑的操作8. Python random庫使用方法及異常處理方案9. .Net Core使用Coravel實(shí)現(xiàn)任務(wù)調(diào)度的完整步驟10. Vuex localStorage的具體使用

網(wǎng)公網(wǎng)安備