Skip to content

Commit 5befe38

Browse files
committed
perf([Tinymce]): import tinymce from cdn
1 parent 2ee66ec commit 5befe38

39 files changed

+29
-727
lines changed

public/index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width,initial-scale=1.0">
77
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
8-
<title>vue-element-admin-ts</title>
8+
<title><%= webpackConfig.name %></title>
99
</head>
1010
<body>
1111
<noscript>
1212
<strong>很抱歉,如果没有启用JavaScript,此项目将无法正常运行。请启用它。</strong>
1313
</noscript>
14-
<script src=<%= BASE_URL %>/tinymce4.7.5/tinymce.min.js></script>
14+
<!-- import cdn js -->
15+
<% for(var js of htmlWebpackPlugin.options.cdn.js) { %>
16+
<script src="<%=js%>"></script>
17+
<% } %>
1518
<div id="app"></div>
1619
<!-- built files will be auto injected -->
1720
</body>

public/tinymce4.7.5/langs/zh_CN.js

Lines changed: 0 additions & 230 deletions
This file was deleted.

public/tinymce4.7.5/plugins/codesample/css/prism.css

Lines changed: 0 additions & 138 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)