What should be stored in source control for an Asp.Net Core MVC application?

后端 未结 2 1641
长发绾君心
长发绾君心 2021-01-11 17:36

With the new Asp.net Core MVC projects such as:

There are a lot of unfamiliar folders there, like bower_components, wwwroot,

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-11 18:21

    Anything that is a project setting, or that you directly change you should store. Anything that is directly downloaded (references, bower/node) or is directly based on those (lib folder getting copied by gulp) should be ignored.

    So, in your case, ignore bower, node, and project\wwwroot\lib. You want the wwwroot folder if you have custom css or js.

提交回复
热议问题