From 5427d034171819da56de35077792bd4fb2b5118d Mon Sep 17 00:00:00 2001 From: layxiang Date: Sat, 21 Aug 2021 09:55:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9F=BA=E7=A1=80=E6=90=AD=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6028e48..d664d04 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,9 @@ 3. npm i 4. npm start -## 特别注意 -1. 所有基础变量均配置在define中如主题色, 背景色等 +## 注意事项 +1. css变量在src/global.css中定义 后续在全局中使用; 如果考虑css变量兼容问题,则可以在.umirc.ts中define定义变量。umi会在编译时自动将所有变量替换 + # 服务端渲染