asp.net core mvc - I have a .bowerrc and a bower.json file does a project need both? -


in asp.net core mvc website there .bowerrc file:

{   "directory": "wwwroot/lib" } 

and there bower.config file:

{   "name": "asp.net",   "private": true,   "dependencies": {     "font-awesome": "4.5.0",     "startbootstrap-sb-admin-2": "1.0.8"   } } 

should project have both, need both? if so, purpose of each?
both files in root directory of project.

the purpose of bower.json define dependencies project have. purpose of .bowerrc define optional configurations such location of directory bower must work , other things (proxy, etc.).

to answer question, .bowerrc can optional in case, looks specific directory set bower install packages into.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -