diff --git a/IFLOW.md b/IFLOW.md index 9fc38a8..39507f4 100644 --- a/IFLOW.md +++ b/IFLOW.md @@ -126,7 +126,7 @@ npm install * `uView-Plus` 组件已通过 `easycom` 自动导入,可以直接使用,如:``、``。 * 全局组件放在 `components/` 目录下。 * 页面独立组件放在页面根目录下的 `components/`。 -* 微信的原生组件放在页面根目录下的 `wxcomponents/`。 +* 微信的原生组件放在页面根目录下的 `wxcomponents/`,并在使用了组件的对应页面路由配置中添加组件的引用属性 `"usingComponents": { "components": "/wxcomponents/components/components" }`。 * 组件编写应遵循项目中已有的风格。 ## 页面