Skip to content

guylevin/react-dev-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

react-dev-container

A simple development container for react, to run in vscode

Run container

  • Clone the repository
  • Make sure the Dev Containers extention is installed in vscode
  • Open the project folder in vscode
  • Open command plate (ctrl+shift+p) and choose Dev Containers: Reopen Folder in container

Create and run app

Create a project
npx create-react-app my-app
Use . instead of app-name to place the app files in the current directory

Run project
npm start

Environment Variables

The devcontainer.env adds an environment variable for the hot-reload to work on windows environment (wsl2) as well

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published