Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A base starter for CodeRoad tutorials with React

NotificationsYou must be signed in to change notification settings

ShMcK/coderoad-react-tutorial-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is a working starter boilerplate for a React based CodeRoad tutorial.

Seeinstructions for reverting back to its originalCreate React App template.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Openhttp://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section aboutrunning tests for more information.

yarn build

Builds the app for production to thebuild folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section aboutdeployment for more information.

Learn More

You can learn more in theCreate React App documentation.

To learn React, check out theReact documentation.

Code Splitting

This section has moved here:https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here:https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here:https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here:https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here:https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here:https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

Revert to Create-React-App

This project is slightly modified from the original create-react-app config in order to integrate with CodeRoad's testing tools. See react-app-rewired for details on how these modifications are implemented:https://github.com/timarney/react-app-rewired.

If you're done with your CodeRoad course, feel free to revert back. Just follow the instructions below:

  1. delete the following file:config.overrides.js
  2. Remove unused packages by running the following:
npm uninstall react-app-rewired jest-tap-reporter
  1. Revert the scripts in package.json back to their original formats:
"scripts": {"start":"react-scripts start","build":"react-scripts build","test":"react-scripts test"},
  1. Remove the following lines from your.gitignore file. These should be enabled when publishing or sharing your application.
package-lock.jsonyarn.lock

Happy hacking!

About

A base starter for CodeRoad tutorials with React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp