fix(uno): 预扫源码修复 dev 首屏原子类缺失
This commit is contained in:
1 parent
e6621afe63
commit
b9fa434cfe
1 file changed
+4
@@ -28,6 +28,10 @@ const generateSafeList = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
// dev 下预扫源码,避免懒加载页面首屏缺类
|
||||||
|
content: {
|
||||||
|
filesystem: ["src/**/*.{vue,js,ts,jsx,tsx}"],
|
||||||
|
},
|
||||||
// 自定义快捷类
|
// 自定义快捷类
|
||||||
shortcuts: {
|
shortcuts: {
|
||||||
"wh-full": "w-full h-full",
|
"wh-full": "w-full h-full",
|
||||||
|
|||||||
Reference in new issue
Block a user