Set up a modern web app by running one command.
MIT License
Bot releases are visible (Hide)
Published by gaearon about 8 years ago
react-scripts
)npm start
taking a very long time on OS X with Firewall enabled (@gaearon in #319)?v=
after asset filenames, such as Font Awesome, now works correctly (@alexzherdev in #298)npm link
ing react-scripts
have been fixed (@dallonf in #277)/static
prefix for assets both in development and production (@gaearon in #278)Update react-scripts
to point to 0.2.1
in your package.json
and run npm install
. You shouldn’t need to do anything else. If you see a warning about wrong file casing next time you npm start
, fix your imports to use the correct filename casing.
Newly created projects will use 0.2.1
automatically. You don’t need to update the global create-react-app
CLI itself. It stays at 0.2.0
for now because it doesn’t have any changes.
Published by gaearon about 8 years ago
react-scripts
)homepage
field to package.json
(@dhruska in #94)0.0.0.0
and works with VirtualBox (@JWo1F in #128)3000
port is taken, we offer to use another port (@chocnut in #101, 2edf21)import
CSS files from npm modules (@glennreyes in #105, @breaddevil in #178)fetch
and Promise
polyfills are now always included (@gaearon in #235).gitignore
(@npverni in #79, @chibicode in #112).babelrc
in parent directory no longer causes an error (@alexzherdev in #236).json
extension are now discovered (@gaearon in a11d6a)create-react-app
)--version
flag correctly (@mxstbr in #152)You may optionally update the global command (it’s not required):
npm install -g [email protected]
Inside any created project that has not been ejected, run:
npm install --save-dev --save-exact [email protected]
You may need to fix a few lint warnings about missing <img alt>
tag, but everything else should work out of the box. If you intend to deploy your site to GitHub Pages, you may now add homepage
field to package.json
. If you had issues with integrating editor linter plugins, follow these new instructions.
Published by gaearon about 8 years ago