Need help with materials?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

alibaba-fusion
148 Stars 132 Forks 105 Commits 6 Opened issues

Description

官方精品物料仓库

Services available

!
?

Need anything else?

Contributors list

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

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

sync to oss, will work in Iceworks

$ ACCESS_KEY_ID=xxx ACCESS_KEY_SECRET=yyy node scripts/oss/upload.js

Usage

Install Iceworks for VS Code:

install Iceworks

Add the materials data URL to Iceworks:

https://ice.alicdn.com/assets/materials/react-materials.json

add custom material

See Custom Material to learn more about how to use materials in Iceworks.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.