Add .js scripts in Angular 2 project

前端 未结 3 708
慢半拍i
慢半拍i 2021-01-04 09:22

I am building a web app with Angular 2 framework and I want to use an external template (https://freehtml5.co/preview/?item=splash-free-html5-bootstrap-template-for-any-webs

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-04 09:55

    i think loading script tags inside angular 2 components is not allowed but take a look at this it may help you How do I include a JavaScript file in another JavaScript file?

提交回复
热议问题