native-css
native-css copied to clipboard
How to integrate to React project?
Recently I've found this module match my need that is convert a link CSS file to JSON. So I want to use it in my project. I tried to import it but seem nothing worked. Can you help me config it?
Oh, sorry @kidqn by delay. Yeah, sure. Using as module or CLI?
Hi raphamorim, sorry for late reply. I want to use it as module.
For example, I have a simple button, click it then implement your native-css. How can I do that? I'm a front end dev so I'm not familiar with some node js module :)
Thanks.
@raphamorim Does this module work on the front-end?
nopes @RalleSaid. sorry again @kidqn.
This module is intent to work as a node module, but I'm curious about propose it to frontend layer. It's possible to extend it to work on browser, however the api interface will change.
cssobjects-loader is now available for webpack4
but there are still some enhancements to be made
maybe you want to have a look