0.1.1 • Published 4 years ago
@baishan/component v0.1.1
Custom Materials
Docs.
Install Iceworks CLI
$ npm i -g iceworks
$ iceworks --helpInstall Deps
$ npm installDevelop 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 startAdd new material
$ iceworks add # select block|component|scaffold|pageGenerate materials data
$ iceworks generatePublish materials data
# sync to fusion material center
$ iceworks syncUse materials in AppWorks
Add the materials data url to AppWorks.