akveo / blur-admin

AngularJS Bootstrap Admin Panel Framework
http://akveo.github.io/blur-admin/
Other
11.37k stars 3.09k forks source link

Error adding new page #367

Open tassiopimentel opened 6 years ago

tassiopimentel commented 6 years ago

I did everything as explained on the page: http://akveo.github.io/blur-admin/articles/013-create-new-page/

But when I put in pages.modulo.js the line 'BlurAdmin.pages.myNewPage',

Template does not load ...

I have the same problem with this question: https://github.com/akveo/blur-admin/issues/345

fperniavp commented 6 years ago

@tassiopimentel I know it's been a while since your question, but in order to solve the issue you're telling, you need one additional step (a step that wasn't mentioned in the link you added, which by the way it's part of the official documentation):

Please take a look at #152

In short, once you create your new module, you have to add it to BlurAdmin.pages module:

newpage

If you aren't using gulp, remember adding your script in theindex.html file: <script src="yourpath/myScript.js"></script>