-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ng-admin app inside another app? #335
Comments
I've been able to do this by selectively overriding the urls for MainModule and CrudModule in my require.js config. It's pretty ugly, but it works. I've been meaning to ask the ng-admin folks how they would feel about namespacing the states and urls, it would make use-cases such as this much cleaner. "/dashboard" and "DashboardController", for instance, are very commonly used in other apps. |
Not sure exactly what you mean about overriding the urls easel, but this is something that I would really like to do too... To the maintainers, ng-admin seems fantastic but I'd also like to be able to set my own route as the base route for ng-admin. |
So the following seems to work:
|
Add the following CSS to hide the ng-admin navbar
|
I have built an angular app using ui-router, with 3 different abstract states for three different contexts:
/
route/account
route/admin
routeI'm not too sure about running another app just for the admin that I would have to assign to the
/admin
route in my express server, so I was hoping I could just use ng-admin as a module and assign it to my/admin
route within the app using ui-router or something else, but I see no documentation to support that it is feasible.So... is it? Or am I a hopeless dreamer :(
The text was updated successfully, but these errors were encountered: