Skip to content

Commit

Permalink
feat: 基础搭建
Browse files Browse the repository at this point in the history
  • Loading branch information
xlei1123 committed Aug 21, 2021
1 parent 847e614 commit 5427d03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
3. npm i
4. npm start

## 特别注意
1. 所有基础变量均配置在define中如主题色, 背景色等
## 注意事项
1. css变量在src/global.css中定义 后续在全局中使用; 如果考虑css变量兼容问题,则可以在.umirc.ts中define定义变量。umi会在编译时自动将所有变量替换



# 服务端渲染
Expand Down

0 comments on commit 5427d03

Please sign in to comment.