aurelia-bundling

CSS Management with the Aurelia-CLI: Every view loads another CSS file to be enforced site wide causing conflicts

断了今生、忘了曾经 提交于 2019-12-05 23:41:02
问题 I have a project with 6 views (html). Each of those views has a corresponding view model (.js) and a style sheet just for that view (.css) The aurelia-cli does a wonderful job of recursing through my file free and bundling all the .js and .css files into a couple of files so they can be referenced while reducing page load times and size. So if I have a welcome folder with a welcome.html, welcome.js and welcome.css, I can load the CSS for welcome.html with the following <require from=".