mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 09:34:19 +08:00
fix(server): grammatical errors
This commit is contained in:
16
src/main.ts
16
src/main.ts
@@ -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
|
||||
|
Reference in New Issue
Block a user