LanceZhu / miniprogram-materials

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom ICE Materials

Docs.

Install iceworks

$ 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

Add new material

$ iceworks add  # select block|component|scaffold

Generate materials data

$ iceworks generate

Publish materials data

# sync to fusion material center
$ iceworks sync

Use materials in iceworks

Add the materials data url to iceworks.

About


Languages

Language:TypeScript 78.8%Language:JavaScript 14.9%Language:CSS 6.3%