bluewings / pug-as-jsx-loader

MIT License
188 stars 15 forks source link

[question] How to work with partials/includes? #32

Closed douggr closed 5 years ago

douggr commented 5 years ago

I can't manage to use pug's include or extends. Is that possible?

Thank you in advance.

billypon commented 5 years ago

@douggr You can include/extends directly, but need to do some patch before.

I have created PR, you can do the patch manually: https://github.com/bluewings/pug-as-jsx-utils/pull/3/files

douggr commented 5 years ago

Many thanks!