docs: add tips in advanced-usage.zh-CN.md (#10927)

* docs: add tips in advanced-usage.zh-CN.md

* Update advanced-usage.zh-CN.md

Co-authored-by: neverland <jait.chen@foxmail.com>
This commit is contained in:
小镇靓仔 2022-08-18 15:01:45 +08:00 committed by GitHub
parent 041039b5e9
commit f060d1a813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,6 +172,8 @@ module.exports = {
};
```
> Tips: 在配置 postcss-pxtorem 时,同样应避免 ignore node_modules 目录,否则会导致 Vant 样式无法被编译。
#### 其他设计稿尺寸
如果设计稿的尺寸不是 375而是 750 或其他大小,可以将 `rootValue` 配置调整为: