Hello,
Running npx makes aurelia
and choosing Custom Aurelia 2 Project:
produces an app that does not load CSS classes. Whether I import the stylesheet locally in the HTML file , or leave it to convention, CSS classes are not loaded. I say classes because the styling in the CSS files as applied to built-in tags works just fine. In the default my-app.css file, this declaration doesn’t work (while all the rest of the styling does):
.active {
background-color: yellow;
}
I’m using the configuration as is, as generated by makes
, but of course I had to create a CSS file. So I created welcome-page.css, then relied on convention for loading. I then tried explicit local import. No luck.
I tried the SCSS option just to see if that was a happy path. That didn’t work either.
Vite doesn’t exhibit this problem.