Skip to content

material templates for iceworks CLI(iceworks CLI 物料模板)

Notifications You must be signed in to change notification settings

ice-lab/material-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2866d88 · Apr 11, 2024
May 15, 2023
Apr 11, 2024
Mar 21, 2023
Dec 5, 2019
Mar 21, 2023
May 15, 2023
Mar 21, 2023
Oct 30, 2020
Oct 30, 2020
Mar 21, 2023
Oct 30, 2020
Sep 2, 2021
Oct 30, 2020
May 15, 2023
Oct 30, 2020

Repository files navigation

物料模板

使用模板创建物料

$ tnpm i -g iceworks

$ mkdir my-materials && cd my-materials
# init material collection project
$ iceworks init material <templateNpmName>
# init sindle component project
$ iceworks init component <templateNpmName>

模板列表

template-react

  • 特点:React/Fusion/icejs
  • npm 包名:@icedesign/ice-react-material-template
  • 使用场景:通用
  • 代码地址:code

template-react-ts

  • 特点:React/Fusion/icejs/TypeScript
  • npm 包名:@icedesign/ice-react-ts-material-template
  • 使用场景:通用
  • 代码地址:code

template-vue

  • 特点:Vue/ElementUI/Vue CLI
  • npm 包名:@icedesign/ice-vue-material-template
  • 使用场景:通用
  • 代码地址:code

template-rax

  • 特点:Rax/build-scripts
  • npm 包名:@icedesign/template-rax
  • 使用场景:无线多端场景
  • 代码地址:code

模板开发

# 支持相对路径
$ iceworks init material ../../react-template