(编辑:jimmy 日期: 2024/12/29 浏览:2)
<!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="static/favicon.ico" rel="external nofollow" > <title>网站名称</title> </head> <body> <div id="app"></div> <!-- built files will be auto injected --> </body> </html>
new HtmlWebpackPlugin({ filename: 'index.html', template: 'index.html', inject: true, favicon:'static/favicon.ico'//新增 }),
以上就是Vue 修改网站图标的方法的详细内容,更多关于Vue 修改网站图标的资料请关注其它相关文章!