xmsz / cool-materials

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Materials

Docs.

Install Iceworks CLI

$ 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

# page
$ cd pages/ExamplePage
$ npm install
$ npm run start

Add new material

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

Generate materials data

$ iceworks generate

Publish materials data

# sync to fusion material center
$ iceworks sync

Use materials in AppWorks

Add the materials data url to AppWorks.

About


Languages

Language:SCSS 53.9%Language:TypeScript 44.8%Language:JavaScript 0.8%Language:HTML 0.3%Language:CSS 0.2%