fix(server): grammatical errors

This commit is contained in:
Vben
2021-04-01 22:34:31 +08:00
parent c030567b38
commit ee4829c15d
9 changed files with 67 additions and 276 deletions

View File

@@ -1,14 +1,6 @@
import '/@/design/index.less';
import '@virtual/windi.css';
// Do not introduce` on-demand in local development?
// In the local development for on-demand introduction, the number of browser requests will increase by about 20%.
// Which may slow down the browser refresh.
// Therefore, all are introduced in local development, and only introduced on demand in the production environment
if (import.meta.env.DEV) {
import('ant-design-vue/dist/antd.less');
}
import { createApp } from 'vue';
import App from './App.vue';
@@ -25,6 +17,14 @@ import '/@/router/guard';
// Register icon Sprite
import 'vite-plugin-svg-icons/register';
// Do not introduce` on-demand in local development?
// In the local development for on-demand introduction, the number of browser requests will increase by about 20%.
// Which may slow down the browser refresh.
// Therefore, all are introduced in local development, and only introduced on demand in the production environment
if (import.meta.env.DEV) {
import('ant-design-vue/dist/antd.less');
}
(async () => {
const app = createApp(App);
// Register global components