eleventy-jsx
eleventy-jsx copied to clipboard
Example of how to use JSX templates with Eleventy
Eleventy + JSX
Example of how to use TSX/JSX with Eleventy.
Usage:
$ npm i
...
$ npx @11ty/eleventy
Writing _site/demo/index.html from ./demo.md.
Wrote 1 file in 0.06 seconds (v0.10.0)
The code was actually written in TypeScript, but the corresponding JavaScript is pretty readable, so feel free to read either ;-).