monad-navgiation

Navigation component for Monad CMS


Keywords
angular, cms, navigation
License
MIT
Install
npm install monad-navgiation@1.0.0

Documentation

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']);