UNPKG

1.77 kBMarkdownView Raw
1# Plumes
2
3[![Join the chat at https://gitter.im/CodeCorico/plumes](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/CodeCorico/plumes?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4[![Issue Stats](http://issuestats.com/github/codecorico/plumes/badge/issue)](http://issuestats.com/github/codecorico/plumes)
5[![Issue Stats](http://issuestats.com/github/codecorico/plumes/badge/pr)](http://issuestats.com/github/codecorico/plumes)
6
7Flying-fast Metro future vision components
8
9[![Microsoft: Productivity Future Vision](http://img.youtube.com/vi/w-tFdreZB94/0.jpg)](http://www.youtube.com/watch?v=w-tFdreZB94)
10
11## Installation
12
13Include the module in your project with :
14```
15npm install --save plumes
16```
17
18## How to use it
19
20### Compile template files
21
22You can compile and move your Less, JavaScript and HTML files to your ```/public``` folder with Plumes.
23
24To start the gulp watcher, include this code in your *gulpfile.js* then start ```gulp```:
25
26```javascript
27var Plumes = require('plumes');
28
29new Plumes({
30 paths: {
31 features: './features',
32 public: './public'
33 }
34});
35```
36
37### Use the components
38
39Plumes contains many Ractive components and CSS layouts. To use it you have to include [Ractive](http://ractivejs.org), [Ractive Require](https://github.com/XavierBoubert/ractive-require) and [jQuery](http://jquery.com):
40
41```html
42<script src="http://cdn.ractivejs.org/latest/ractive.min.js"></script>
43<script src="https://cdnjs.cloudflare.com/ajax/libs/ractive-require/0.6.2/ractive-require.min.js"></script>
44<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
45```
46
47Each component is compiled and ready to use in the ```/public``` folder.
48
49## Example
50
51You can try all of the components with the [examples](examples/).
52
\No newline at end of file