asp.net core 2 angular template – where to add third party assets

问题内容:

it looks like everything in the clientapp folder is compiled into javascript and bundled into main-client.js using webpack, probably. i don’t know much about it.

what i’m wondering is, if i have some javascript and css that isn’t strictly part of the angular app, where in the project do i add these dependencies. do i add it in the dist folder? it looks like that folder is dynamically created by webpack so i didn’t want to do that.

for example, the default angular app it installs clearly uses bootstrap for css grid system classes, so bootstrap must be installed somewhere. is it in the webpack config? how would i go about adding any other third party assets or my own?

thanks for any clarity about using this template

问题评论:

原文地址:

https://stackoverflow.com/questions/47755181/asp-net-core-2-angular-template-where-to-add-third-party-assets

添加评论