UNPKG

823 BMarkdownView Raw
1
2From the same directory as your project's [Gruntfile][Getting Started] and [package.json][], install this plugin with the following command:
3
4```bash
5npm install {%= name %} --save
6```
7
8Once that's done, just add `{%= name %}`, the name of this module, to the `plugins` option in the Assemble task:
9
10```js
11module.exports = function(grunt) {
12
13 // Project configuration.
14 grunt.initConfig({
15 assemble: {
16 options: {
17 plugins: ['{%= name %}']
18 },
19 ...
20 }
21 });
22 grunt.loadNpmTasks('assemble');
23 grunt.registerTask('default', ['assemble']);
24};
25```
26
27If everything was installed and configured correctly, you should be ready to go!
28
29[grunt]: http://gruntjs.com/
30[Getting Started]: https://github.com/gruntjs/grunt/blob/devel/docs/getting_started.md
31[package.json]: https://npmjs.org/doc/json.html
\No newline at end of file