open-index/open-npm huggingface dataset:
npm package: @fangjiangz/ff
Description: testm is fang test pkg
Latest version: 0.1.0

# Custom Materials

[Docs](https://appworks.site/materials/about.html).

## Install appworks CLI

```bash
$ npm i -g appworks
$ appworks --help
```

## Install Deps

```bash
$ npm install
```

## Develop materials

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

# component
$ cd blocks/ExampleBlock
$ npm install
$ npm run start
```

## Add new material

```bash
$ appworks add  # select block|component|scaffold
```

## Generate materials data

```bash
$ appworks generate
```

## Publish materials data

```bash
# sync to fusion material center
$ appworks sync
```

## Use materials in AppWorks

Add the materials data url to [AppWorks](https://appworks.site/pack/basic/materials.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E7%89%A9%E6%96%99%E6%BA%90).