We need to create a pure CSS library that can be used by our Angular, React, Vue and WC applications and libraries. Something that can be accessed in a way like @myorg/styles.
It seems related to this ticket #54 but it's already Closed with a promise that something will be done to address it.
However, I still can't see a proper way (via plugin?) to do this. I'm curious how others create a shareable (framework-agnostic) styles library.
Simply generate a library via nx generate library and reference that library in your apps. docs
Generator will generate a complete library template (ts + css) but you can clean generated code with your needs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With