使用 TypeScript,未使用任何 UI 库。


Keywords
ice, react, react-components
License
MIT
Install
npm install @alifd/scaffold-simple@1.1.2

Documentation

Custom Materials

Docs.

Install Iceworks CLI

$ npm i -g iceworks
$ iceworks --help

Install Deps

$ npm install

Develop materials

# block
$ cd blocks/ExampleBlock
$ npm install
$ npm run start

# component
$ cd blocks/ExampleBlock
$ npm install
$ npm run start

# page
$ cd pages/ExamplePage
$ npm install
$ npm run start

Add new material

$ iceworks add  # select block|component|scaffold|page

Generate materials data

$ iceworks generate

Publish materials data

# sync to fusion material center
$ iceworks sync

Use materials in AppWorks

Add the materials data url to AppWorks.