Giter Site home page Giter Site logo

materials's Introduction

Materials

Based on fusion components and ice scaffold. Develop material docs.

Install Deps

$ npm run setup

Develop materials

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

自定义脚手架

scaffolds 每一个脚手架都由对应的配置文件 .template/scaffold.json 生成,因此请不要手动修改脚手架的其他文件内容。

生成命令:

$ cd materials/
$ node scripts/generate.js fusion-design-pro

批量发布模块

$ cd materials/
$ node scripts/publish-blocks.js

Add new material

$ iceworks add  # select block|component|scaffold

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

Use materials in iceworks

Add the materials data url to iceworks

materials's People

Contributors

bindoon avatar clarkxia avatar youluna avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.