I am very new to Webpack and the .NET Core 2 Angular SPA Template . I am trying to create a global stylesheet for the entire site. I could reference this style in the Layout view to display it in the main view, but then I lose the benefits of the mechanism for pre-rendering and linking with WebPack (as well as using a thumbnail).
The Webpack documentation says that to enable static CSS, you need to add it to your module (../filepath), but I don't see a way to do this in boot.browser.ts.
I'm still just starting out with the .NET kernel, so my site is basically just an ONet template. Core Core 2 with Angular. I am saving my global stylesheet to ClientApp / Styles / Global.css for now. Thank you for your time.
source
share