
Getting Started | Create React App
You can now optionally start a new app from a template by appending --template [template-name] to the creation command. If you don't select a template, we'll create your project with our base …
Updating to New Releases | Create React App
When you run npx create-react-app my-app it automatically installs the latest version of Create React App. If you've previously installed create-react-app globally via npm install -g create …
Adding TypeScript | Create React App
If you are currently using create-react-app-typescript, see this blog post for instructions on how to migrate to Create React App. Constant enums and namespaces are not supported, you can …
Adding a Sass Stylesheet | Create React App
Now you can rename src/App.css to src/App.scss and update src/App.js to import src/App.scss. This file and any other file will be automatically compiled if imported with the extension .scss or …
Adding a Router | Create React App
Create React App doesn't prescribe a specific routing solution, but React Router is the most popular one.
Deployment | Create React App
Connect your Create React App repo and pick a branch. If you're looking for a Create React App+Amplify starter, try the create-react-app-auth-amplify starter that demonstrates setting up …
Making a Progressive Web App | Create React App
After running the build script, create-react-app will give instructions for one way to test your production build locally and the deployment instructions have instructions for using other …
Installing a Dependency | Create React App
Oct 24, 2019 · The generated project includes React and ReactDOM as dependencies. It also includes a set of scripts used by Create React App as a development dependency. You may …
Setting Up Your Editor | Create React App
This enables you as a developer to write and debug your React code without leaving the editor, and most importantly it enables you to have a continuous development workflow, where …
Custom Templates | Create React App
Note: this feature is available with [email protected] and higher. Custom Templates enable you to select a template to create your project from, while still retaining all of the features of Create …