Closed mars-abd closed 6 years ago
@mars-abd you can't (at least now).
It's also not planned for near future: https://github.com/pugjs/babel-plugin-transform-react-pug/issues/15
Sorry, it is duplicated issue
@mars-abd you can use this plugin https://github.com/bluewings/pug-as-jsx-loader/blob/master/README.md#import-pug-template
Let's close this issue, since it's a duplicate. We can continue working on it, or just discuss it, within #15.
//CC @ForbesLindesay
@ezhlobo you should have permission to close issues yourself if you want to. I agree that we should close this issue as a duplicate though :)
@ForbesLindesay I actually don't have any permission here
Ooops, it looks like I created a react-pug
team, and added you to it, but forgot to add the repository. Should be fixed now :)
Like this:
MyComponent.pug:
MyComponent.js: