Materials
Based on Fusion Components and ice.js Framework.
Setup
$ npm run setupDevelop
See Material Development Guide to learn more.
# block
$ cd blocks/ExampleBlock
$ npm install
$ npm run startScaffolds
Each scaffold in the scaffolds folder is generated by a configuration file .template/scaffold.json, please do not manually modify the contents of the scaffold.
Generate scaffold command:
$ cd materials/
$ node scripts/generate.js fusion-design-proBatch Publish Blocks
$ cd materials/
$ node scripts/publish-blocks.jsBatch Publish Scaffolds
$ cd materials/
$ TYPE=scaffolds node scripts/publish-blocks.jsAdd New Material
$ iceworks add # select block|component|scaffold|pagePublish
Generate Materials Data
$ iceworks generatePublish Materials Data
# sync to fusion material center
$ iceworks sync