You've already forked template-MP-ts
iflow描述文件调优
This commit is contained in:
2
IFLOW.md
2
IFLOW.md
@@ -26,6 +26,7 @@
|
||||
│ └── utils/ # 工具函数
|
||||
│ └── tool.ts # 常用工具函数
|
||||
├── components/ # 公共组件
|
||||
├── wxcomponents/ # 微信原生组件
|
||||
├── lib/ # 第三方库
|
||||
│ └── luch-request/ # luch-request 网络请求库
|
||||
├── pages/ # 主包页面
|
||||
@@ -125,6 +126,7 @@ npm install
|
||||
* `uView-Plus` 组件已通过 `easycom` 自动导入,可以直接使用,如:`<u-button>`、`<u-icon>`。
|
||||
* 全局组件放在 `components/` 目录下。
|
||||
* 页面独立组件放在页面根目录下的 `components/`。
|
||||
* 微信的原生组件放在页面根目录下的 `wxcomponents/`。
|
||||
* 组件编写应遵循项目中已有的风格。
|
||||
|
||||
## 页面
|
||||
|
||||
Reference in New Issue
Block a user