Do you need one style URL or CSS style? — Angular 17 introduced an styleUrl attribute (singular) for a single style file:
And the other styles attribute has more flexibility as well as it now supports a single string or an array of strings, which means all options are available now:
A simple change that makes everything easier!
Let’s get connected! You can find me on:
- Medium: https://medium.com/@nhannguyendevjs
- dev.to: https://dev.to/nhannguyendevjs
- Linkedin: https://www.linkedin.com/in/nhannguyendevjs/
- X (formerly Twitter): https://twitter.com/nhannguyendevjs