From f5a0751be938eefbd3c327fd50b9234f49b98440 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期二, 04 八月 2020 14:49:33 +0800
Subject: [PATCH] 修改iconfont 引入方式,添加到index.html
---
public/index.html | 46 +++++++++++++++++++++++++++++++---------------
1 files changed, 31 insertions(+), 15 deletions(-)
diff --git a/public/index.html b/public/index.html
index fb92cd4..88d03e7 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,17 +1,33 @@
<!DOCTYPE html>
<html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
- <link rel="icon" href="<%= BASE_URL %>favicon.ico">
- <title><%= htmlWebpackPlugin.options.title %></title>
- </head>
- <body>
- <noscript>
- <strong>We're sorry but multiple-pages doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
- </noscript>
- <div id="app"></div>
- <!-- built files will be auto injected -->
- </body>
-</html>
+
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
+ <link rel="icon" type="image/png" href="<%= BASE_URL %>favicon.png" sizes="32x32">
+ <link rel="stylesheet" href="/fonts/alibaba/iconfont.css">
+ <title><%= htmlWebpackPlugin.options.title %></title>
+ <style>
+ html,
+ body,
+ h2,
+ p,
+ ul,
+ li {
+ margin: 0;
+ padding: 0;
+ }
+ </style>
+</head>
+
+<body>
+ <noscript>
+ <strong>We're sorry but multiple-pages doesn't work properly without JavaScript enabled. Please enable it to
+ continue.</strong>
+ </noscript>
+ <div id="app"></div>
+ <!-- built files will be auto injected -->
+</body>
+
+</html>
\ No newline at end of file
--
Gitblit v1.8.0