elegant and lovely components
📖 Docs | 🏂 Playground |
---|
$ npm install pure-ui --save
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 );
pure.js | pure.css |
---|
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 :)
MIT