mirror of https://github.com/akveo/blur-admin
adding a step to myNewPage appear on sideBar
parent
f89cdf0916
commit
7564007647
|
@ -63,6 +63,23 @@ This will allow you to easily switch off some pages in the future if needed.
|
|||
|
||||
})();
|
||||
```
|
||||
5) Lastly, add 'BlurAdmin.pages.myNewPage' inside pages.module.js like this:
|
||||
|
||||
```javascript
|
||||
angular.module('BlurAdmin.pages', [
|
||||
'ui.router',
|
||||
'BlurAdmin.pages.dashboard',
|
||||
'BlurAdmin.pages.myNewPage',
|
||||
'BlurAdmin.pages.ui',
|
||||
'BlurAdmin.pages.components',
|
||||
'BlurAdmin.pages.form',
|
||||
'BlurAdmin.pages.tables',
|
||||
'BlurAdmin.pages.charts',
|
||||
'BlurAdmin.pages.maps',
|
||||
'BlurAdmin.pages.profile',
|
||||
])
|
||||
.config(routeConfig);
|
||||
```
|
||||
|
||||
That's it! Your can now open your new page either from sidebar or through hash URL.
|
||||
|
||||
|
|
Loading…
Reference in New Issue