Skip to content

sudo-barun/custom-JSX-example

Repository files navigation

Custom JSX Example

Example of using JSX without using framework like React.

There are 3 different ways:

Prerequisities

  1. Node and NPM

Usage

  1. git clone this repo
  2. Make sure the folder is accessible through a web server.
    Lets assume this repo is available at http://localhost:8080
  3. In the browser, go to:

To make modifications, go to the root folder and:

  1. Install dependencies
    npm ci
    
  2. Make modifications
  3. Run TypeScript Compiler after making modifications:
    npx tsc
    
  4. Refresh the browser