Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 466 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 466 Bytes

Express Server with JSX

Simple example of running Nano JSX in Node.js on ExpressJS.

# clone
npx gitget nanojsx/node-jsx-example

# change directory
cd node-jsx-example

# install
npm install

# run
npm start

# open
http://127.0.0.1:3000/

About

This example uses plain JavaScript (not TypeScript).
But it uses the TypeScript compiler to transform .jsx into .js.
Want to use TypeScript instead? Simple rename your .jsx files to .tsx.