Home

Awesome

spraygun-react-ts

CircleCI

This is a Carbon Five-flavored convenience skeleton project for React. It is based on create-react-app (not ejected) with the following additions:

To get started, make sure you have Node 16 and Yarn installed, and then generate your project like this:

$ npx spraygun -t react-ts <project-directory>

💡 If you'd like to use spraygun-react-ts with with Rails, start by generating a Rails project with raygun, and follow the instructions for enabling React with TypeScript in Rails. From there, you can cherry-pick files and patterns from this template into your React frontend in app/javascript/.

Below this line is the README that will accompany your generated project.


<!-- END SPRAYGUN BANNER -->

app-prototype

This is a React app written in TypeScript.

Prerequisites

It is strongly recommended that you use a version manager like nvm, nodenv, or asdf to ensure the correct Node version. If you use asdf, make sure to add the nodejs plugin and enable legacy version files.

Quick start

Install dependencies:

yarn install

Start the server:

yarn start

This will launch the app at:

http://localhost:3000/

Task reference


Generated by spraygun-react-ts