About 42 results
Open links in new tab
  1. 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 template.

  2. Deployment | Create React App

    Since Create React App is completely platform-agnostic, there’s no need to explicitly use Node. The build folder with static assets is the only output produced by Create React App.

  3. Available Scripts | Create React App

    npm run build Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames …

  4. 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 learn …

  5. Updating to New Releases | Create React App

    Create React App creates the project with the latest version of react-scripts so you’ll get all the new features and improvements in newly created apps automatically.

  6. 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 methods.

  7. 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 React App.

  8. Using HTTPS in Development | Create React App

    To avoid having to set the environment variable each time, you can either include in the npm start script like so:

  9. Running Tests | Create React App

    Create React App uses Jest as its test runner. To prepare for this integration, we did a major revamp of Jest so if you heard bad things about it years ago, give it another try. Jest is a Node-based runner. …

  10. 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 and …