This is a very small project meant to allow you to use JSX with VanillaJS.
All the ESLint, Babel, and Webpack configuration that you will need is included by example.
The most important aspects of the project are in the jsx-runtime/
folder
Run the following commands to get your project running:
git clone [email protected]/henryfjordan/minimal-jsx-framework.git <project>
cd <project>
npm --prefix render-in-browser install
npm --prefix server-side-render install
Now you can start modifying whatever you like! src/index.jsx
is the main entrypoint for each of the apps.
npm --prefix render-in-browser run build
will run webpack to build therender-in-browser
examplenpm --prefix render-in-browser run watch
will start the livewebpack-dev-server
and open therender-in-browser
example in your browsernpm --prefix server-side-render run start
will build and run theserver-side-render
example server