mirror of https://github.com/msgbyte/tailchat
refactor: 修改样式文件为异步加载,因为图片会比较大
parent
f1a74df021
commit
987f2c9f8f
@ -1,7 +1,11 @@
|
|||||||
import { regPluginColorScheme } from '@capital/common';
|
import { regPluginColorScheme } from '@capital/common';
|
||||||
import './theme.less';
|
|
||||||
|
|
||||||
regPluginColorScheme({
|
regPluginColorScheme({
|
||||||
label: 'Miku 葱',
|
label: 'Miku 葱',
|
||||||
name: 'light+miku',
|
name: 'light+miku',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 异步加载以防止入口文件过大阻塞主应用加载(因为有图片)
|
||||||
|
*/
|
||||||
|
import('./theme.less');
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
declare module '*.less';
|
Loading…
Reference in New Issue