How to reference external js and css separately in ionic - Stack Overflow
ringa_lee
ringa_lee 2017-05-16 13:43:25
0
1
577

I now want to package a web project into an app and write it in ionic, but the original web reference css and js are all html importing the corresponding external js and css files, so there may be no duplication when naming. It will have an impact on other html. Now when using ionic, it seems that everything needs to be imported into index.html. I tried to import it into <ion-view></ion-view> and it was successful, but it seems not very good. Is there any other way?

ringa_lee
ringa_lee

ringa_lee

reply all(1)
迷茫

ionic’s routing is based on ui-router, which can be loaded lazily using $ocLazyLoad.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template