ya-ui

0.2.6 • Public • Published

Ya-UI

Build Status Dependency Status Coverage Status Gitter

web components build with React

Directory structure

|- asset/ #font and background images etc
|- dist/     #build directory
|- example/
  |- selected/  #selected's example
  |- index.html #example index.html
|- src/      #source directory
  |- component/ # web component
  |- lib/ #helper and tool
  |- index.es6 # entry point
|- task/ #build tasks
|- package.json

Get Started

  1. install via npm

    npm install

    or directly include yaui.js into page

  2. require this module in your code

    var yaui = require("ya-ui");
    var Selected = yaui.component.Selected
    // coding

Customize build

npm run build

Customize release

npm run release

Develop examples

  1. develop with your own example
  • when start new example,some build and inject work need to be done

    npm run develop-example
  • reqired work finished,start develop server

    npm start
  1. release you own example
  • like develop workflow,build and inject work need to be done

    npm run deploy-example
  • then deploy example directory to your own server

Readme

Keywords

Package Sidebar

Install

npm i ya-ui

Weekly Downloads

2

Version

0.2.6

License

MIT

Last publish

Collaborators

  • alichen