pugjs/babel-plugin-transform-react-pug
View on GitHub ↗ ★ 810 JavaScript
A plugin for transpiling pug templates to jsx
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2019-02-25 · latest 2019-03-19
20082026
-
…with traction: https://pugjs.org/language/conditionals.html Here's a Pug -> JSX transformation: https://github.com/pugjs/babel-plugin-transform-react-pug Detouring from the most popular path tends to come at the price of tooling…
comment by hombre_fatal · 2019-03-19 · in How we do Vue: one year later (2017) -
…like const someComponent = () => pug` ul.p2.f3 Some list li.red Some text li.pink Some more` [1] https://github.com/pugjs/babel-plugin-transform-react-pug
comment by fromalex · 2019-02-25 · in Alternatives to JSX -
Pug is a worthy mention. https://github.com/pugjs/babel-plugin-transform-react-pug/bl... wasn't mentioned
comment by cdaringe · 2019-02-25 · in Alternatives to JSX