Commit cb1ec74e6bbe5dff3aac62473e8393d4d7e74ff6

Authored by liuqimichale
1 parent 9808a4b6

favicon

build/webpack.dev.conf.js
@@ -55,7 +55,8 @@ const devWebpackConfig = merge(baseWebpackConfig, { @@ -55,7 +55,8 @@ const devWebpackConfig = merge(baseWebpackConfig, {
55 new HtmlWebpackPlugin({ 55 new HtmlWebpackPlugin({
56 filename: 'index.html', 56 filename: 'index.html',
57 template: 'index.html', 57 template: 'index.html',
58 - inject: true 58 + inject: true,
  59 + favicon: './favicon.ico'
59 }), 60 }),
60 // copy custom static assets 61 // copy custom static assets
61 new CopyWebpackPlugin([ 62 new CopyWebpackPlugin([
favicon.ico 0 → 100644
No preview for this file type
index.html
@@ -3,7 +3,10 @@ @@ -3,7 +3,10 @@
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <!--<meta name="viewport" content="width=device-width,initial-scale=1.0">--> 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 <meta name="viewport" content="width=1200"> 8 <meta name="viewport" content="width=1200">
  9 + <link rel="shortcut icon" type="image/x-icon" href="static/favicon.ico">
7 <title>监控</title> 10 <title>监控</title>
8 </head> 11 </head>
9 <body> 12 <body>