Skip to content

Pure-UI/pure

Repository files navigation

pure

build status npm package license

elegant and lovely components

📖 Docs 🏂 Playground

Installation

$ npm install pure-ui --save

Usage

Option 1: with webpack ( Recommended )

import Regular from 'regularjs';
import Pure from 'pure-ui';
// import css
import 'pure-ui/lib/index.css';

Regular.use( Pure );

Option 2: hot-link

<link rel="stylesheet" href="//unpkg.com/pure-ui/lib/index.css">
<script type="text/javascript" src="//unpkg.com/regularjs/dist/regular.js"></script>
<script type="text/javascript" src="//unpkg.com/pure-ui/lib/index.js"></script>
Regular.use( Pure );

Alternatively, you can also register pure-ui in another namespace

var Another = Regular.extend( {} );
Another.use( Pure );

CDN

pure.js pure.css

Contributing

Every contribution is appreciated! But before you start working on your pull request, please read CONTRIBUTING.md first. There are some guidelines and tips you may want to know :)

License

MIT