Angular2 - What folder for custom CSS / JS files?

后端 未结 3 1419
别那么骄傲
别那么骄傲 2021-01-27 05:49

I have to include a set of CSS and JS files in my angular2 application.

What is the correct folder in order to have them included when I do the build?

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-27 06:25

    If you are asking where to put the styles the official angular style guide says:

    https://angular.io/styleguide#!#05-04

    it is a recommended way, but as the comment bellow you can put them in the order that makes better sense for you.

提交回复
热议问题