@cesarbr/macaw
Macaw - CESAR Design System
Last updated 7 months ago by brunolimawd .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @cesarbr/macaw 
SYNC missed versions from official npm registry.

Built With Stencil

Macaw

Getting Started

To start development:

git clone git@gitlab.com:cesarbr/cesar-apps/macaw/macaw.git
cd macaw

and run:

npm install
npm start

To build the component for production, run:

npm run build

To run the unit tests for the components, run:

npm test

Need help? Check out our docs here.

Naming Components

When creating new component tags, we recommend using prefix m-. For example m-button.

Using this component

Script tag

  1. Put a script tag <script src='https://unpkg.com/@cesarbr/macaw/dist/macaw.js'></script> in the head of your index.html
  2. Then you can use the element anywhere in your template, JSX, html etc

NPM

  1. Run
$ npm install  @cesarbr/macaw --save
  1. Add an import to the npm packages
import { defineCustomElements as macaw } from '@cesarbr/macaw/loader';
  1. Init macaw
macaw(window);
  1. Then you can use the element anywhere in your template, JSX, html etc

Current Tags

  • 0.0.3                                ...           latest (7 months ago)

2 Versions

  • 0.0.3                                ...           7 months ago
  • 0.0.2                                ...           7 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |