• Stars
    star
    239
  • Rank 168,763 (Top 4 %)
  • Language
    TypeScript
  • Created over 6 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

基于 icejs+fusion 的官方精品物料

Materials

Based on Fusion Components and ice.js Framework.

Setup

$ npm run setup

Develop

See Material Development Guide to learn more.

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

Scaffolds

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-pro

Batch Publish Blocks

$ cd materials/
$ node scripts/publish-blocks.js

Batch Publish Scaffolds

$ cd materials/
$ TYPE=scaffolds node scripts/publish-blocks.js

Add New Material

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

Publish

Generate Materials Data

$ iceworks generate

Publish Materials Data

# sync to fusion material center
$ iceworks sync