Skip to content

Minimal boilerplate for a single-page app using React, TypeScript with JSX support (TSX), and Visual Studio Code.

License

Notifications You must be signed in to change notification settings

bvanreeven/react-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-TypeScript

Minimal boilerplate for a single-page app using React, TypeScript with JSX support (TSX), and Visual Studio Code.

Usage

Note: Run commands from the root folder of the cloned repository.

To build the project from the command-line:

  • Install Node.js
  • npm install
  • npm run build

To view the app in the browser:

To develop using Visual Studio Code:

  • Install Visual Studio Code.
  • Open the root folder of the cloned repository.
  • The tasks.json file is configured to run the TypeScript compiler in watch mode. Press Cmd+Shift+B on Mac or Ctrl+Shift+B on Windows or Linux to start the watcher.

To instantly view changes in the browser while developing:

  • Run npm run dev in a terminal. This will start both webpack in watch mode and http-server. Hint: Visual Studio Code contains a built-in terminal.

About

Minimal boilerplate for a single-page app using React, TypeScript with JSX support (TSX), and Visual Studio Code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published