Commit cb1ec74e6bbe5dff3aac62473e8393d4d7e74ff6
1 parent
9808a4b6
favicon
Showing
3 changed files
with
5 additions
and
1 deletions
build/webpack.dev.conf.js
| ... | ... | @@ -55,7 +55,8 @@ const devWebpackConfig = merge(baseWebpackConfig, { |
| 55 | 55 | new HtmlWebpackPlugin({ |
| 56 | 56 | filename: 'index.html', |
| 57 | 57 | template: 'index.html', |
| 58 | - inject: true | |
| 58 | + inject: true, | |
| 59 | + favicon: './favicon.ico' | |
| 59 | 60 | }), |
| 60 | 61 | // copy custom static assets |
| 61 | 62 | new CopyWebpackPlugin([ | ... | ... |
favicon.ico
0 → 100644
No preview for this file type
index.html
| ... | ... | @@ -3,7 +3,10 @@ |
| 3 | 3 | <head> |
| 4 | 4 | <meta charset="utf-8"> |
| 5 | 5 | <!--<meta name="viewport" content="width=device-width,initial-scale=1.0">--> |
| 6 | + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| 7 | + <meta name="renderer" content="webkit"> | |
| 6 | 8 | <meta name="viewport" content="width=1200"> |
| 9 | + <link rel="shortcut icon" type="image/x-icon" href="static/favicon.ico"> | |
| 7 | 10 | <title>监控</title> |
| 8 | 11 | </head> |
| 9 | 12 | <body> | ... | ... |