generator-angular-fullstack icon indicating copy to clipboard operation
generator-angular-fullstack copied to clipboard

Gulp replacing my manually added CDN in index .html

Open akshayseth opened this issue 7 years ago • 4 comments

I am using angular fullstack generator v3.8.0 to build my website and in order to make the UI more responsive I am using external libraries for the fonts and scrollbar.And everytime I hit gulp serve it automatically replaces that file from index.html and due to that the file is not loaded.Is there any fix for such behaviour?

akshayseth avatar Sep 08 '17 10:09 akshayseth

@akaashanky you should be placing the external links in the _index.html file which is the template used for the index.html file served by gulp.

MichaelMarkieta avatar Sep 08 '17 19:09 MichaelMarkieta

And how can I create that?I mean can you refer some docs for cretaing that file and how the external file's CDNs are managed in that file?

akshayseth avatar Sep 09 '17 19:09 akshayseth

Also I am not akaashanky :P

akshayseth avatar Sep 09 '17 19:09 akshayseth

You're not placing your like between the <!-- injector:js --> or <!-- bower:js --> sections, are you? Because those get replaced whenever you gulp serve

Awk34 avatar Sep 10 '17 19:09 Awk34