monad-navigation
v1.3.0
Published
Navigation component for Monad CMS
Downloads
2
Readme
monad-navigation
Generic navigation module (menu builder) from Monad CMS.
Installation
Using NPM
$ npm install --save monad-navigation
require
it in your Javascript bootstrapper and add the extra module dependency
to your admin module:
require('monad-cms');
require('monad-navigation');
angular.module('myAdminModule', ['monad-cms', 'monad-navigation']);
Using Bower
$ bower install --save monad-navigation
Add a link to the script in your HTML file, after the main monad script but before your custom scripts:
<script src="bower_components/monad/dist/monad.js"></script>
<script src="bower_components/monad-navigation/dist/monad-navigation.js"></script>
<script src="myAdminBundle.js"></script>
Now register the dependency like with the NPM install:
angular.module('myAdminModule', ['monad-cms', 'monad-navigation']);