Skip to content

Commit 99270e5

Browse files
'优化webpack打包,新增图片资源,字体图标资源加载'
1 parent 64da618 commit 99270e5

File tree

82 files changed

+2423
-293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+2423
-293
lines changed

vue-app1/deploy/app1.js

+384
Large diffs are not rendered by default.
13.8 KB
Loading

vue-app1/deploy/bundle.js

+392
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vue-app1/deploy/css/common.css

+153
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
/*!************************************************************************************!*\
2+
!*** css ./node_modules/css-loader/dist/cjs.js!./src/assets/iconfont/iconfont.css ***!
3+
\************************************************************************************/
4+
@font-face {
5+
font-family: "iconfont"; /* Project id 1870567 */
6+
src: url(..//font/iconfont.e8afb1d.woff2) format('woff2'),
7+
url(..//font/iconfont.e697176.woff) format('woff'),
8+
url(..//font/iconfont.08b00db.ttf) format('truetype');
9+
}
10+
11+
.iconfont {
12+
font-family: "iconfont" !important;
13+
font-size: 16px;
14+
font-style: normal;
15+
-webkit-font-smoothing: antialiased;
16+
-moz-osx-font-smoothing: grayscale;
17+
}
18+
19+
.icon-duihua:before {
20+
content: "\e6ba";
21+
}
22+
23+
.icon-diannao:before {
24+
content: "\e6bb";
25+
}
26+
27+
.icon-shouye:before {
28+
content: "\e6bc";
29+
}
30+
31+
.icon-lingdao:before {
32+
content: "\e6bd";
33+
}
34+
35+
.icon-xiezi:before {
36+
content: "\e6be";
37+
}
38+
39+
.icon-zuhe:before {
40+
content: "\e647";
41+
}
42+
43+
.icon-fileplus-fill:before {
44+
content: "\e7c6";
45+
}
46+
47+
.icon-expandalt-fill:before {
48+
content: "\e7e4";
49+
}
50+
51+
.icon-eye-slash:before {
52+
content: "\e7ec";
53+
}
54+
55+
.icon-eye:before {
56+
content: "\e7ed";
57+
}
58+
59+
.icon-reply:before {
60+
content: "\e82f";
61+
}
62+
63+
.icon-share:before {
64+
content: "\e86e";
65+
}
66+
67+
.icon-Directory-tree:before {
68+
content: "\e892";
69+
}
70+
71+
.icon-workflow-copy:before {
72+
content: "\f078";
73+
}
74+
75+
.icon-servicemeshfuwuwangge-copy:before {
76+
content: "\f076";
77+
}
78+
79+
.icon-servicemeshfu-copy-copy:before {
80+
content: "\f077";
81+
}
82+
83+
.icon-dituleiwanggequ-copy:before {
84+
content: "\f072";
85+
}
86+
87+
.icon-fangxingweixuanzhong-copy:before {
88+
content: "\f073";
89+
}
90+
91+
.icon-daqilitiguancex:before {
92+
content: "\e661";
93+
}
94+
95+
.icon-VE:before {
96+
content: "\e666";
97+
}
98+
99+
.icon-customer-info:before {
100+
content: "\e667";
101+
}
102+
103+
.icon-product:before {
104+
content: "\e66c";
105+
}
106+
107+
.icon-distribution:before {
108+
content: "\e671";
109+
}
110+
111+
.icon-litijiankong-copy:before {
112+
content: "\f074";
113+
}
114+
115+
.icon-dulitixi-copy-copy-copy-copy-copy:before {
116+
content: "\f075";
117+
}
118+
119+
.icon-litipouqie:before {
120+
content: "\e603";
121+
}
122+
123+
.icon-rongqi:before {
124+
content: "\e625";
125+
}
126+
127+
.icon-lifangtilitiduomiantifangkuai:before {
128+
content: "\e600";
129+
}
130+
131+
.icon--SearchDatabaseFlat:before {
132+
content: "\f071";
133+
}
134+
135+
136+
/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
137+
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/children.vue?vue&type=style&index=0&lang=less& ***!
138+
\****************************************************************************************************************************************************************************************************************************************************************************/
139+
.app1-children {
140+
border: 1px solid red;
141+
background: red;
142+
color: #ffff;
143+
}
144+
145+
/*!********************************************************************************************************************************************************************************************************************!*\
146+
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/App.vue?vue&type=style&index=0&lang=css& ***!
147+
\********************************************************************************************************************************************************************************************************************/
148+
149+
.vue-app1 {
150+
border: black solid 1px;
151+
padding: 10px;
152+
}
153+
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*!****************************************************************************************************************************************************************************************************************************************************************************!*\
2+
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/children.vue?vue&type=style&index=0&lang=less& ***!
3+
\****************************************************************************************************************************************************************************************************************************************************************************/
4+
.app1-children {
5+
border: 1px solid red;
6+
background: red;
7+
color: #ffff;
8+
}
9+
10+
/*!********************************************************************************************************************************************************************************************************************!*\
11+
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/App.vue?vue&type=style&index=0&lang=css& ***!
12+
\********************************************************************************************************************************************************************************************************************/
13+
14+
.vue-app1 {
15+
border: black solid 1px;
16+
padding: 10px;
17+
}
18+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
/*!************************************************************************************!*\
2+
!*** css ./node_modules/css-loader/dist/cjs.js!./src/assets/iconfont/iconfont.css ***!
3+
\************************************************************************************/
4+
@font-face {
5+
font-family: "iconfont"; /* Project id 1870567 */
6+
src: url(..//font/iconfont.e8afb1d.woff2) format('woff2'),
7+
url(..//font/iconfont.e697176.woff) format('woff'),
8+
url(..//font/iconfont.08b00db.ttf) format('truetype');
9+
}
10+
11+
.iconfont {
12+
font-family: "iconfont" !important;
13+
font-size: 16px;
14+
font-style: normal;
15+
-webkit-font-smoothing: antialiased;
16+
-moz-osx-font-smoothing: grayscale;
17+
}
18+
19+
.icon-duihua:before {
20+
content: "\e6ba";
21+
}
22+
23+
.icon-diannao:before {
24+
content: "\e6bb";
25+
}
26+
27+
.icon-shouye:before {
28+
content: "\e6bc";
29+
}
30+
31+
.icon-lingdao:before {
32+
content: "\e6bd";
33+
}
34+
35+
.icon-xiezi:before {
36+
content: "\e6be";
37+
}
38+
39+
.icon-zuhe:before {
40+
content: "\e647";
41+
}
42+
43+
.icon-fileplus-fill:before {
44+
content: "\e7c6";
45+
}
46+
47+
.icon-expandalt-fill:before {
48+
content: "\e7e4";
49+
}
50+
51+
.icon-eye-slash:before {
52+
content: "\e7ec";
53+
}
54+
55+
.icon-eye:before {
56+
content: "\e7ed";
57+
}
58+
59+
.icon-reply:before {
60+
content: "\e82f";
61+
}
62+
63+
.icon-share:before {
64+
content: "\e86e";
65+
}
66+
67+
.icon-Directory-tree:before {
68+
content: "\e892";
69+
}
70+
71+
.icon-workflow-copy:before {
72+
content: "\f078";
73+
}
74+
75+
.icon-servicemeshfuwuwangge-copy:before {
76+
content: "\f076";
77+
}
78+
79+
.icon-servicemeshfu-copy-copy:before {
80+
content: "\f077";
81+
}
82+
83+
.icon-dituleiwanggequ-copy:before {
84+
content: "\f072";
85+
}
86+
87+
.icon-fangxingweixuanzhong-copy:before {
88+
content: "\f073";
89+
}
90+
91+
.icon-daqilitiguancex:before {
92+
content: "\e661";
93+
}
94+
95+
.icon-VE:before {
96+
content: "\e666";
97+
}
98+
99+
.icon-customer-info:before {
100+
content: "\e667";
101+
}
102+
103+
.icon-product:before {
104+
content: "\e66c";
105+
}
106+
107+
.icon-distribution:before {
108+
content: "\e671";
109+
}
110+
111+
.icon-litijiankong-copy:before {
112+
content: "\f074";
113+
}
114+
115+
.icon-dulitixi-copy-copy-copy-copy-copy:before {
116+
content: "\f075";
117+
}
118+
119+
.icon-litipouqie:before {
120+
content: "\e603";
121+
}
122+
123+
.icon-rongqi:before {
124+
content: "\e625";
125+
}
126+
127+
.icon-lifangtilitiduomiantifangkuai:before {
128+
content: "\e600";
129+
}
130+
131+
.icon--SearchDatabaseFlat:before {
132+
content: "\f071";
133+
}
134+
135+
14.6 KB
Binary file not shown.
9.3 KB
Binary file not shown.
7.87 KB
Binary file not shown.
Loading
13.8 KB
Loading

vue-app1/deploy/index.ejs

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--
2+
* @Descripttion:
3+
* @version:
4+
* @Author: Jason chen
5+
* @Date: 2021-08-18 14:12:39
6+
* @LastEditors: sueRimn
7+
* @LastEditTime: 2021-08-18 15:29:14
8+
-->
9+
<!DOCTYPE html>
10+
<html lang="en">
11+
12+
<head>
13+
<meta charset="UTF-8">
14+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
15+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
16+
<title>vue-app1</title>
17+
</head>
18+
19+
<body>
20+
<div id="app"></div>
21+
</body>
22+
23+
</html>

vue-app1/deploy/index.html

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--
2+
* @Descripttion:
3+
* @version:
4+
* @Author: Jason chen
5+
* @Date: 2021-08-18 14:12:39
6+
* @LastEditors: sueRimn
7+
* @LastEditTime: 2021-08-18 15:29:14
8+
-->
9+
<!DOCTYPE html>
10+
<html lang="en">
11+
12+
<head>
13+
<meta charset="UTF-8">
14+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
15+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
16+
<title>vue-app1</title>
17+
<script defer src="bundle.js"></script><script defer src="app1.js"></script><link href="css/common.css" rel="stylesheet"></head>
18+
19+
<body>
20+
<div id="app"></div>
21+
</body>
22+
23+
</html>

0 commit comments

Comments
 (0)