@ouyangdan/ice-material-demo
v0.4.18
Published
This is a ice material project
Downloads
9
Readme
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.