Commit Graph

97 Commits

Author SHA1 Message Date
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
Mohammad Kermani
1fc1d8296a Update README.md (#1573)
Update links to jest expect function.
2017-02-16 11:50:51 +00:00
Alessandro Burato
075e729865 add --recursive to sass watch script (#1564) 2017-02-15 13:15:10 +00:00
Darío Javier Cravero
b0bc46eaf8 Use https in link to Ignoring files at Github (#1561) 2017-02-15 10:06:08 +00:00
kiran ps
6d22a789f2 modified documentation for setting up jest-enzyme (#1562) 2017-02-15 10:05:34 +00:00
Alessandro Burato
ce0d6eeb60 update CSS preprocessor instructions (#1543)
* update CSS preprocessor instructions
- Windows shell users should note that running two programs simultaneously is not supported.

* fix the order of SASS build step
- the suggested build step with integrated CSS preprocessing is wrong. The SASS preprocessor should run first, then the react-scripts build will pick the up-to-date final CSS

* Add tweaks from PR discussion
2017-02-13 18:44:07 +00:00
Dan Abramov
c9bc6ce3f7 Tweak syntax doc (#1539)
* Tweak syntax doc

* Shorter version
2017-02-12 20:17:33 +00:00
Joe Haddad
411347f5cc Update language support wording to ES2017 2017-02-12 14:33:12 -05:00
Toni Petrina
6c85568c5f Added link to Azure deployment tutorial (#1338) 2017-02-12 02:03:49 +00:00
Roman Rubas
ca7fb22123 [documentation] how to disable autoprefix feature (#1320)
* added how to disable autoprefix feature in doc

* Just link to the doc
2017-02-12 02:01:01 +00:00
Jonathan Conway
c7ba1303b8 reactjs/redux#2004 List features beyond ES6 supported by create-react-app (#1313)
* reactjs/redux#2004 List features beyond ES6 supported by create-react-app

* Add more info
2017-02-12 01:57:41 +00:00
Dimitris Tsironis
1fe6f5502c Add SASS support documentation #1007 (#1008)
* Add SASS support documentation #1007

* Change SASS section title to more generic label

* Fix link in Table of Contents

* Chain build-css with watch-css script, fix typos

* Update Sass and Less naming style

* Fix wording, remove offensive words

* Slightly rewite
2017-02-12 00:38:59 +00:00
Blaine Kasten
8ec99b6fff Suggest jest-enzyme for simplifying test matchers (#994)
* Suggest jest-enzyme for simplifying test matchers

* Update README.md

* Update README.md
2017-02-11 23:05:54 +00:00
Dan Abramov
9f1276314d Add additional info about env variables 2017-02-11 14:00:26 +00:00
Dan Abramov
dc4e8bb462 Make index.html interpolation instructions less clashing with env syntax 2017-02-11 13:45:30 +00:00
Anders D. Johnson
b0b0e6da55 fix: add yarn gitignores (#1507)
* fix: add yarn gitignores to template

* fix: add yarn gitignores to root

* fix: add wildcard to npm-debug.log ignore
2017-02-11 01:30:11 +00:00
Joe Haddad
7a02f9a41a readme: Add Advanced Configuration (#1515)
* Add Advanced Configuration section

* Reference package.json instead

* Add HOST, HTTPS, and CI

* Switch wording from Amazon to a CDN

* Add test runner comment

* Add top-level README link

* Simplify wording

* Link to relevant docs

* Link to apps

* Add .env link

* Simpler links

* Add a CI flag note
2017-02-10 16:20:53 -05:00
Thibault Derousseaux
8e127aaa38 Support relative asset paths for special case (#1489)
* Fix paths in CSS files when homepage is set to "./"

In the production build, ExtractTextPlugin is used to generate a separate CSS file instead of injecting style through JavaScript. This plugin does not work well by default with nested output structure. To fix it, we give it a relative publicPath pointing to the build folder.

* Add section in README to explain how to make builds deployable anywhere

* Apply review requested change

* Apply review changes 2
2017-02-10 00:44:00 -05:00
Calvin Webster
160d8d13ef clarifying the use of custom environment variables (#1513)
* clarifying the use of custom environment variables

* Tweak
2017-02-09 20:46:47 +00:00
RodrigoHahn
c811a31622 Change "OS X" references to "macOS" (#1511)
Updated README.md to refer to the current rebranding.
2017-02-09 14:41:24 +00:00
vulong23
65e6340395 Edit User Guide: Add ESLint config for VS Code users (#1482)
* Add ESLint config for VS Code users

* Update VSC ESLint note to a better solution 

Update VSC ESLint note to a better solution as discussed in Pull Request
2017-02-04 16:47:19 +00:00
Fatih
6424232dc1 Reflect websocket proxy support on README (#1013) (#1483)
* Reflect websocket proxy support on README

* Add 'the'
2017-02-04 15:18:54 +00:00
Anthony F
dd788b672a Readme: Removes experimental from Jest snapshot (#1453)
Per final comment in #372

`Snapshot rendering should actually be pretty stable / useable after React 15.4.1.
See this post for more info.`
2017-01-26 18:40:12 +00:00
Alex Driaguine
3bb31ccb0f Added links to tutorials for integrating cra with an api backend (#1437)
* Added Rails link to User Guide

* docs: unify sections for rails and node backend integration

* docs: fix faulty link and indentation
2017-01-24 11:12:01 +00:00
Vasiliy Taranov
65bde54306 Add causes of dev server not detecting changes (#1422)
* Add causes of dev server not detecting changes

Add causes of `npm start` not detecting changes to Troubleshooting chapter of User Guide

* Reworded slightly

* Update README.md
2017-01-23 21:22:55 +01:00
Paul O’Shannessy
4d7b7544e7 Use npm script hooks to avoid && in deploy script (#1324) 2016-12-30 17:59:27 +02:00
Christian Raidl
a90e2b2eea fix readme: remove double 'we' (#1312) 2016-12-30 17:56:12 +02:00
Johnny Magrippis
e45b08746a Fixes duplicate "is" typo (#1306) 2016-12-30 17:55:31 +02:00
Jay Phelps
7408e36478 Only gitignore dirs in root, not deep (#1267) 2016-12-14 03:06:38 -08:00