Skip to content

A template for a basic React application, using Vite and Vitest

Notifications You must be signed in to change notification settings

rokesby/react-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Application Template

This is a simple template for a React application.

This template uses:

Installation

To create a fresh copy of this project, you can use the tool degit:

npx degit makersacademy/react-template my-project --mode=git

cd my-project

npm install

If for some reason degit doesn't work for you, you can instead follow these instructions:

  1. Fork and clone this repo into a folder on your machine.
  2. cd into that folder cd my-project-name
  3. Delete the git history: rm -rf .git
  4. Install the necessary dependencies - run npm install in the folder where the package.json is located.

The following can all be found under the "scripts" section in your package.json. You can add more scripts here if you like, and run them with npm run my-script.

Running in Development Mode

npm run dev

Running Tests

npm run test

Linting

npm run lint

Building for Production

npm run build

About

A template for a basic React application, using Vite and Vitest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.7%
  • CSS 15.1%
  • HTML 11.2%