GithubHelp home page GithubHelp logo

wangbox / materials Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alibaba-fusion/materials

0.0 0.0 0.0 7.98 MB

官方精品物料仓库

Home Page: https://fusion.design/template

JavaScript 36.98% TypeScript 53.75% HTML 0.23% SCSS 9.04%

materials's Introduction

Materials

Based on Fusion Components and ice.js Framework.

Setup

$ npm run setup

Develop

See Material Development Guide to learn more.

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

Scaffolds

Each scaffold in the scaffolds folder is generated by a configuration file .template/scaffold.json, please do not manually modify the contents of the scaffold.

Generate scaffold command:

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

Batch Publish Blocks

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

Batch Publish Scaffolds

$ cd materials/
$ TYPE=scaffolds node scripts/publish-blocks.js

Add New Material

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

Publish

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

Usage

Install Iceworks for VS Code:

install Iceworks

Add the materials data URL to Iceworks:

https://ice.alicdn.com/assets/materials/react-materials.json

add custom material

See Custom Material to learn more about how to use materials in Iceworks.

materials's People

Contributors

alvinhui avatar bindoon avatar clarkxia avatar imsobear avatar luhc228 avatar maoxiaoke avatar sml782 avatar sspku-yqliu avatar suixinlei avatar tao1991123 avatar youluna 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.