I am creating an Angular2 application using SPA and JavaScriptServices templates provided by Microsoft ( https://blogs.msdn.microsoft.com/webdev/2017/02/14/building-single-page-applications-on-asp-net-core- with-javascriptservices / ).
I would like to use Angular Material as opposed to Bootstrap for styling / themes, but I can't get it to work.
Following the setup guide ( https://material.angular.io/guide/getting-started ) is quite simple, however, when it comes to including theme resources (@ angular / material / finished themes / ...) from the npm package wwwroot dist output to make them available to the application. I am completely lost.
I assume that this is just a case of a WebPack configuration change, however, after an hour or two of Google search and search, Iām no closer to understanding what to do.
Can someone point me in the right direction?
NB. Please do not offer to copy the files that I need for wwwroot or links to CDN, etc.
angular webpack asp.net-core single-page-application
James law
source share