Commit 76ac2aec by caoyanzhi

update: 调整ico引入

parent 3c1125c9
......@@ -55,8 +55,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
inject: true,
favicon: './static/img/favicon.ico'
inject: true
}),
// copy custom static assets
new CopyWebpackPlugin([
......
......@@ -63,6 +63,7 @@ const webpackConfig = merge(baseWebpackConfig, {
new HtmlWebpackPlugin({
filename: config.build.index,
template: 'index.html',
favicon: './favicon.ico',
inject: true,
minify: {
removeComments: true,
......
......@@ -11,7 +11,7 @@
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="./static/img/favicon.ico" />
<link rel="shortcut icon" href="./favicon.ico" />
<title>好办管理平台</title>
<link rel="stylesheet" type="text/css" href="//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.69.css" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment