
Getting Started | Create React App
If you don't select a template, we'll create your project with our base template. Templates are always named in the format cra-template-[template-name], however you only need to provide …
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 …
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 …
Deployment | Create React App
You don’t necessarily need a static server in order to run a Create React App project in production. It also works well when integrated into an existing server side app.
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 …
Using the Public Folder | Create React App
When you run npm run build, Create React App will substitute %PUBLIC_URL% with a correct absolute path so your project works even if you use client-side routing or host it at a non-root …
Troubleshooting | Create React App
If you're seeing this error, you're likely using an old version of react-scripts. You can either fix it by avoiding a dependency that uses modern syntax, or by upgrading to react-scripts@>=2.0.0 …
Available Scripts | Create React App
This command will remove the single build dependency from your project. Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc.) into your …
Adding Custom Environment Variables | Create React App
Since Create React App produces a static HTML/CSS/JS bundle, it can’t possibly read them at runtime. To read them at runtime, you would need to load HTML into memory on the server …
Adding Bootstrap | Create React App
React Bootstrap is the most popular option that strives for complete parity with Bootstrap. reactstrap is also a good choice for projects looking for smaller builds at the expense of some …