AdminLTE icon indicating copy to clipboard operation
AdminLTE copied to clipboard

Left sidebar toggle not working in my angular 2 project

Open yogeshnikam33 opened this issue 9 years ago • 8 comments

I have created angular2 project and added AdminLTE template in that all css are applied but left sidebar toggle is not working.

yogeshnikam33 avatar Feb 16 '17 06:02 yogeshnikam33

Please make sure that you have all the necessary JS files loaded in the correct order. Also, make sure the sidebar toggle button has this attribute data-toggle="offcanvas".

Thanks!

almasaeed2010 avatar Feb 18 '17 23:02 almasaeed2010

Hi Almasaeed, First of all thank you very much for the great work.I am able to use the AdminLTE for a Asp.Net Core and Angular 2 application but unable to get a workaround for sidebar when using the angular 2 routing. When i click on the toggle button it just refreshes the page with the default route set. Any idea or suggestions on how to overcome this issue.

Regards, Raj

rjankathi avatar Mar 10 '17 06:03 rjankathi

@yogeshnikam33 : is it working for you?

rjankathi avatar Mar 14 '17 17:03 rjankathi

I have the same problem, somebody can resolve it?

idalvarez avatar Oct 07 '17 22:10 idalvarez

This problem still exist for all of the hyperlink such as Some.

celery94 avatar Nov 17 '17 08:11 celery94

OMG, i missing include app.js after I include app.js it's working...

viethoanganh79 avatar Jan 04 '18 02:01 viethoanganh79

I am also facing this as well, does anyone found any permanent solution for it. @viethoanganh79 nice solution but in case of tab click it is not working. @almasaeed2010 this issue occurs when you go to ADMIN LTE dashboard page from login page via "this.router.navigate" or "window.location.assign" only.

gauravtyagi77 avatar Feb 21 '18 15:02 gauravtyagi77