https://github.com/ice-lab/material-templates
material templates for iceworks CLI(iceworks CLI 物料模板)
https://github.com/ice-lab/material-templates
iceworks material-templates rax react
Last synced: 12 months ago
JSON representation
material templates for iceworks CLI(iceworks CLI 物料模板)
- Host: GitHub
- URL: https://github.com/ice-lab/material-templates
- Owner: ice-lab
- Created: 2019-12-05T10:01:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-05-29T10:15:20.000Z (about 1 year ago)
- Last Synced: 2025-06-05T17:47:20.442Z (about 1 year ago)
- Topics: iceworks, material-templates, rax, react
- Language: EJS
- Homepage:
- Size: 338 KB
- Stars: 17
- Watchers: 13
- Forks: 17
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 物料模板
## 使用模板创建物料
```bash
$ tnpm i -g iceworks
$ mkdir my-materials && cd my-materials
# init material collection project
$ iceworks init material
# init sindle component project
$ iceworks init component
```
## 模板列表
### template-react
- 特点:React/Fusion/icejs
- npm 包名:`@icedesign/ice-react-material-template`
- 使用场景:通用
- 代码地址:[code](/packages/template-react)
### template-react-ts
- 特点:React/Fusion/icejs/TypeScript
- npm 包名:`@icedesign/ice-react-ts-material-template`
- 使用场景:通用
- 代码地址:[code](/packages/template-react-ts)
### template-vue
- 特点:Vue/ElementUI/Vue CLI
- npm 包名:`@icedesign/ice-vue-material-template`
- 使用场景:通用
- 代码地址:[code](/packages/template-vue)
### template-rax
- 特点:Rax/build-scripts
- npm 包名:`@icedesign/template-rax`
- 使用场景:无线多端场景
- 代码地址:[code](/packages/template-rax)
## 模板开发
```bash
# 支持相对路径
$ iceworks init material ../../react-template
```