# AppWorks物料 **Repository Path**: some21/app-works-material ## Basic Information - **Project Name**: AppWorks物料 - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-17 - **Last Updated**: 2021-12-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: appWorks, Vue, Some21 ## README # 自定义物料 [Docs](https://appworks.site/materials/about.html). ## Install Iceworks CLI ```bash # $ npm i -g iceworks $ iceworks --help ``` ## Install Deps ```bash # $ npm install ``` ## Develop materials ```bash # block $ cd blocks/ExampleBlock $ npm install $ npm run start # component $ cd components/ExampleBlock $ npm install $ npm run start # page $ cd pages/ExamplePage $ npm install $ npm run start ``` ## Add new material ```bash # $ iceworks add # select block|component|scaffold|page ``` ## Generate materials data ```bash # $ iceworks generate ``` ## Publish materials data ```bash # sync to fusion material center $ iceworks 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).