pugjs / babel-plugin-transform-react-pug

A plugin for transpiling pug templates to jsx
MIT License
808 stars 46 forks source link

special characters in class names -- i.e. tailwindcss #134

Closed skotchpine closed 3 years ago

skotchpine commented 3 years ago

is this possible to fix, or are we at the mercy of the underlying pug libraries?

@ezhlobo

skotchpine commented 3 years ago

I want pug in place of jsx, because xml sucks. I must find a solution to this, either by making a new thing or getting this to work. I'd prefer to get this plugin to work.

skotchpine commented 3 years ago

I have a solution (if you're using tailwindcss): change the special characters https://tailwindcss.com/docs/configuration#separator