Commit Graph

125 Commits

Author SHA1 Message Date
Mirza Joldic
fbaeff2d6e Update README.md for now deployments (#2372)
Simplified steps for deploying app to `now` as a static site. No need to `serve` script in `package.json` file. As of May 15, 2017, all static deployments on `now` are free and unlimited.
2017-05-26 12:33:02 +01:00
Dan Abramov
36e279da13 Fix broken links (#2350) 2017-05-24 16:49:56 +01:00
Dan Abramov
ba0d0daf9c Only enable host check if you use proxy, and add a way to opt out of it (#2288)
* Disable host check if you don't use proxy

* Add a way to opt out and document it
2017-05-20 18:34:16 +01:00
Dan Abramov
95cbcc41b3 Update README.md 2017-05-19 23:18:12 +01:00
Enguerran
d6d2f6df24 update reference with new name (#2259)
s/adding-images-and-fonts/adding-images-fonts-and-files/
2017-05-19 19:29:07 +01:00
Kelly
bf7df736f1 update readme with example of include path (#2258)
* update readme with example of include path

* Update README.md
2017-05-19 19:28:40 +01:00
Ade Viankakrisna Fadlil
c749de7f34 add noscript to template's index.html (#2224)
* add noscript to template's index.html

* Tweak message
2017-05-19 17:55:39 +01:00
Dan Abramov
9d98ca911e Hide React Storybook from the User Guide while it's incompatible (#2252)
* Hide React Storybook from the User Guide while it's incompatible

* Update README.md
2017-05-19 17:13:39 +01:00
Alexander James Phillips
5410aa4a9c Correct docs on which .env.* files are supported. (#2247)
* Correct which .env. files are referenced in docs

* Highlight this is not available until 1.0.0

* Formatting

* Update README.md

* Update README.md
2017-05-19 16:55:06 +01:00
Tharaka Wijebandara
54ea47815a Add documentation about using code splitting (#1801)
* Add documentation about using code splitting

* Revise docs a bit

* Update README.md

* Update README.md

* Update README.md
2017-05-19 05:05:18 +01:00
Joe Haddad
741c4f0a96 Enable 1.0 docs (#2220)
* Uncomment merged PRs

* Switch to br

* Update some webpack links

* Add a little about section for PWA

* oops

* fast on subsequent visits

* Add manual proxy config instructions

* hint package.json

* Change to js for comments

* Tune wording
2017-05-19 04:58:37 +01:00
Dan Abramov
b98ba3d7ea Better document PWA stuff 2017-05-19 01:46:47 +01:00
Jeffrey Posnick
c7c3a521e2 PWA-ification, via SWPrecacheWebpackPlugin + manifest.json (#1728)
* sw-precache-webpack-plugin, SW registration, manifest.json

* Documentation + a few SW tweaks.

* Added an unregister method, too, just in case.

* More info for the READMEs.

* Add minify to SWPrecacheWebpackPlugin config

* Fix SWPrecacheWebpackPlugin typo

* Fix file references in READMEmd

* Add instructions for testing service-worker locally

* Review feedback

* Some additional PWA metadata

* Use sw-precache-webpack-plugin v0.9.1 for node >=4.0.0 support

* Review feedback.

* Add manifest.json context in a comment.

* Fix typo

* Downgrade to sw-precache-webpack-plugin 0.9.1

* Hide changes in README until 1.0

* Hide changes in User Guide until 1.0

* Hide more docs
2017-05-17 19:28:27 +01:00
Dan Abramov
65ff5481d9 Ignore Moment.js locales by default (#2187)
* Ignore Moment.js locales by default

* Update README.md
2017-05-16 23:59:48 +01:00
Gabriel Aumala
8f028ae4b5 Support node scripts in BROWSER (#1590)
* Support node scripts in BROWSER

Modify OpenBrowser.js to run node scripts specified with the BROWSER environment
variable . If the value of the BROWSER environment variable ends with '.js' a
child process is spawned to execute the script with node.js. Any
arguments passed to npm start are also passed to this script, as well as
the url where the app is served.
The command executed in the child process is:

node <pathToScript> [OPTIONS] <url>

Update User Guide.

* Tweak code style

* Pin dep

* Comment out 0.10 docs
2017-05-16 00:25:04 +01:00
Cesar Varela
fa4829629a Update README.md (#2137) 2017-05-12 17:42:34 +01:00
Valerii Sorokobatko
80a7fc391d Feature/different env config files #1343 (#1344)
* support different env configs.

* fomrat code

* Hide doc

* Slightly rework the PR

* Remove .env in default template
* Use just one entry in the paths
* Unify env.js and loadEnv.js

* Oops, forgot these folks
2017-05-12 11:30:59 +01:00
Kelly
2de95c4097 Update Sass docs (#2114)
* update readme with fix from https://github.com/facebookincubator/create-react-app/issues/1939

* update with better globbing

* added note

* updating with a note and reverting previous changes

* how about this?

* refactor

* added note about new files back in after verifying locally

* spaces back in, sorry was my editor!

* removed note about new files :)

* added bullet about new files issue currently open on node-sass
2017-05-12 00:00:45 -04:00
Scott Ranger
59c439bd9f Fixed documentation link for storybook in README.md (#2081) 2017-05-04 15:23:45 +01:00
David Ascher
f762728975 Fix instructions for serving with now (#2052)
* Fix instructions for serving with now

Not sure if new, but the `--single` flag is now important.

* Keep it shorter
2017-05-02 19:23:52 +01:00
Lufty Wiranda
629d575a0a Update README.md (#2058)
* Update README.md

* Update README.md
2017-05-01 14:32:13 +01:00
Dan Abramov
851a404d18 Suggest to create .eslintrc for IDE lint plugins (#2054)
* Suggest to create .eslintrc for IDE lint plugins

* Update README.md

* Update README.md
2017-05-01 13:55:20 +01:00
Ben Pickles
33a9700173 Fix Netlify heading level. (#2033) 2017-04-25 15:14:06 +01:00
Michael Wayman
a1b56cf8b3 Update README.md CSS Preprocessor --> node-sass-chokidar alternative (#1987)
* resolves facebookincubator/create-react-app#1986 updates CSS Preprocessor docs to include information on node-sass-chokidar alternative to node-sass

* Update README.md
2017-04-22 15:33:49 -04:00
Igor Ramos
05f3f5ee81 Update doc server example to work from any directory (#1988)
* Node.js serving with absolute path

It’s safer to use the absolute path of the directory that you want to serve, in case you run the express app from another directory.

* Update README.md
2017-04-18 21:38:07 -04:00
Joseph Race
cb41a76eaa Update information in User Guide for Enzyme dependency (#1982) 2017-04-14 13:20:20 +01:00
Dan Abramov
798572a8bc Note that only jest-enzyme@2.x is compatible 2017-04-09 20:02:56 +01:00
Tom Canac
c83ee7a302 Suggest Yarn in HTML template (#1911)
* Fix npm to yarn

* yarn & npm

* Update index.html

* Switch ordering of suggestion

We should suggest NPM first for new users.
2017-04-05 13:28:32 -04:00
Jonathan
2ac3f99b69 Fix responsive behavior in iOS 9+ (#1821)
* Adding shrink-to-fit=no for proper responsive handling on Safari 9+
2017-03-22 13:49:25 -04:00
Stoicescu Cristi
c436bf356e User Guide: Removed blockquote from code section, due to markdown conflict (#1869)
* Removed blockquote from code section

* Fix the fix
2017-03-21 01:21:09 +00:00
Dan Abramov
35d84ef052 Make Surge guide more focused 2017-03-18 15:28:37 +00:00
Leo Lamprecht
8c00af1440 Suggest serve for running in production (#1760)
* Suggest `serve` for serving the `build` directory

* How to handle it with Node in prod (or other platforms)

* Pretty newline added

* Adjusted default port of static server

* Remove `open` command from output

* Removed constant assignment

* Better explanation for not using having to use a static server

* Cute newline added

* Style nits
2017-03-08 22:34:31 +00:00
Andres Suarez
837f5449a5 Add yarn steps for adding flow (#1756)
[skip ci]
2017-03-07 21:44:35 +00:00
Valerii Sorokobatko
fe7b5c212b update to modern code style (#1738)
* mv create-react-app/index.js -> create-react-app/creteReactApp.js

* update to modern code style

* var -> cosnt

* set trailing-coma to es5 for prettier
2017-03-07 19:46:10 +00:00
Rory Hunter
2ac1b38ec6 Whitelist files that can be embedded through url-loader (#1305)
* Whitelist files that can be embedded through url-loader

Change the current catch-all loader to use file-loader instead of
url-loader, and exclude common image file extensons. Add another url-loader
for images, configured identically to the original catch-all loader.

Part of issue #1293.

* Update tests to reflect change in loader config

* Integration test fix

* More CI fixes

* Work around broken loader-utils behaviour in integration tests

* Revise the documentation around file loading

* Documentation tweaks

* Docs tweak

* Update test now that webpack/loader-utils has been updated

* Update react-scripts to depend on babel-loader@7.0.0-alpha.2

* Bump deps
2017-03-07 01:24:56 -05:00
Bond
13f26e3288 Bump jsx-a11y version (#1542)
* Bump jsx-a11y version

* Update package dependecy for jsx-a11y

* Bump version in react-scripts
2017-03-05 19:35:24 +00:00
Ryan Platte
3fe828929f Update now.sh deployment instructions. (#1710)
* Update now.sh deployment instructions.

Incorporates changes announced at https://zeit.co/blog/now-static that streamline Now deployments from CRA projects.

* Remove unintentional reference to deployed app.

No emergency; just didn't intend to tout or send traffic to my prototype.
2017-03-05 14:44:35 +00:00
Ade Viankakrisna Fadlil
443ca23d55 Add docs for apache's client side routing setting (#1717)
* Add docs for apache's client side routing setting

* Tweak advice
2017-03-05 14:07:19 +00:00
Dan Abramov
404c354196 Suggest to use .env for enabling polling mode (#1698) 2017-03-02 12:29:44 +00:00
Myk Klemme
af6a0fffc1 Fixed missing flag in first preprocess command (#1687) 2017-03-01 01:41:09 -05:00
Ryan Sullivan
432ba82ad2 Set Chrome userDataDir to be under .vscode folder (#1657) 2017-02-27 01:10:42 +00:00
sbritoig
5155797983 adding a note on how to resolve "Could not find a required file." dep… (#1391)
* adding a note on how to resolve "Could not find a required file." deployment errors because of deleted or ignored files

* Tweak

* Unrelated style nits
2017-02-24 20:51:53 +00:00
Charlie Gleason
c8d9c47897 Added a how-to on react-snapshot (#1577)
* Added a how-to on react-snapshot

Added a section with a short description and link to a tutorial on generating static html pages with react-snapshot, and also linked to it from the section on managing the page title.

* Updated link title for react-snapshot overview

* Explained pre-rendering in a more generic way

* Added link to top level README.md, and removed specifics from overview

* Updated html -> HTML

* Updated quotes and apostrophes

* html -> HTML

* Fix link
2017-02-24 19:44:47 +00:00
myappincome
c3240a18ab Adding link to “Customizing” create-react-app (#1121)
Add documentation for customizing Bootstrap theme
2017-02-24 17:48:16 +00:00
Bond
577c4e85a3 Document debugging in the browser. (#1540)
* Document debugging in the browser.

* Styling
2017-02-24 16:59:58 +00:00
Dan Abramov
67d0d49ac5 Document Sass imports 2017-02-24 16:36:47 +00:00
Joe Woodhouse
92a068054b Add note about when to import bootstrap CSS. (#1618)
* Add note about when to import bootstrap CSS.

* Tweak
2017-02-24 16:32:29 +00:00
SBrown52
646690b2ba Update flow configuration documentation (#1518)
* Update flow configuration documentation

The documentation was missing creating the .flowconfig file

* Update flow configuration documentation

Adding in suggested changes

* Wording

* Wording
2017-02-24 16:21:53 +00:00
Michael DeRazon
7be0f4de1e add a comment about NODE_ENV value set to 'production' during build step (#1625)
* add a comment about NODE_ENV value set to 'production' during build step

https://github.com/facebookincubator/create-react-app/issues/790#issuecomment-281986264

* Move words around
2017-02-24 16:17:23 +00:00
Alexander James Phillips
2a8535b5d5 Add note for using CHOKIDAR_USEPOLLING in virtual machines to enable HMR (#1608)
* Add note for using CHOKIDAR_USEPOLLING in virtual machines to enable HMR

* Use br in react-scripts template README md

* Use br in md for new line breaks

* Update troubleshooting HMR to allow for VMs running Windows

* Fix up the instructions
2017-02-22 18:37:18 +00:00