Use jQuery script with Angular 6 CLI project

后端 未结 3 1305
不思量自难忘°
不思量自难忘° 2021-01-07 05:45

I\'m developing an application using angular 6. My application use Minton Theme . I included all theme scripts in the index.html file of my angular project. Bu

3条回答
  •  攒了一身酷
    2021-01-07 06:19

    Try to use renavigate method of router and implement CanReuse (from 'angular/router').

    router.renavigate();
    

    And 2nd way you may try ngOnInit mehtod for selflosding the resources.

     this.ngOnInit();
    

提交回复
热议问题