Skip to content

Commit 2e28489

Browse files
author
xujianhua
committed
一些优化
1 parent 9ff764e commit 2e28489

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/App.vue

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
<!--
22
* @Author: your name
33
* @Date: 2021-01-07 09:49:29
4-
* @LastEditTime: 2021-02-09 09:44:37
4+
* @LastEditTime: 2021-04-26 13:51:27
55
* @LastEditors: Please set LastEditors
66
* @Description: In User Settings Edit
77
* @FilePath: \vue3-element-admin\src\App.vue
88
-->
99
<template>
10-
<div id="app">
11-
<router-view></router-view>
12-
</div>
10+
<router-view></router-view>
1311
</template>
1412

1513
<script>

vue.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* @Author: your name
33
* @Date: 2020-10-14 15:24:16
4-
* @LastEditTime: 2021-04-25 17:15:31
4+
* @LastEditTime: 2021-04-26 13:38:12
55
* @LastEditors: Please set LastEditors
66
* @Description: In User Settings Edit
77
* @FilePath: \vue3-element-admin\vue.config.js
@@ -52,7 +52,7 @@ module.exports = {
5252
optimization: {
5353
splitChunks: {
5454
chunks: "all",
55-
maxSize: 200000,
55+
enforceSizeThreshold: 20000,
5656
cacheGroups: {
5757
echarts: {
5858
name: "chunk-echarts",

0 commit comments

Comments
 (0)