Luis Alvarez D
63ea2d8297
Add CSS Modules examples to docs ( #15601 )
...
Fixes https://github.com/vercel/next.js/issues/15595
- Updated the tailwindcss and tailwindcss-emotion examples to the latest version of tailwindcss
- Added a new `with-styled-jsx` example
- Updated the `basic-css` example to use CSS Modules instead of styled-jsx
- Added the examples to the documentation page for built-in css support
2020-07-29 14:43:48 +00:00
Tanmay Laud
f00ad581a1
Added .gitignore to examples that are deployed to vercel ( #15127 )
...
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-07-16 10:52:23 -04:00
Joe Haddad
7d038dfef1
Suggest npx
over npm init
( #13637 )
...
This updates old examples to the more universal `npx` command.
Fixes https://github.com/vercel/next.js/discussions/12103
2020-06-01 17:36:57 +00:00
Joe Haddad
b7e17e09e5
Update references to zeit/next.js ( #13463 )
2020-05-27 17:51:11 -04:00
JJ Kasper
1f6ce106ae
Update codeload and deploy links for org rename ( #13141 )
...
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-05-27 14:11:39 -04:00
Joe Haddad
dbad9db68c
Update Examples for Fast Refresh ( #13068 )
2020-05-18 17:44:18 -04:00
Tim Neutkens
483bd3ddda
Rename ZEIT to Vercel ( #12075 )
...
* Find/replace
* Update more URLs
* More rename
* Fix remaining examples
* More updates
* Update create-next-app
* Update remaining text
* Update
Co-authored-by: Shu Uesugi <shu@chibicode.com>
2020-04-21 11:47:12 +02:00
Greg Rickaby
cadc950e2d
docs(example): Load basic-css example on codesandbox ( #11227 )
...
* Load basic-css example on codesandbox
* Moved link
Co-authored-by: Luis Alvarez <luis@zeit.co>
Co-authored-by: Shu Uesugi <shu@chibicode.com>
2020-03-20 15:39:36 -05:00
Shu Uesugi
c57cdbb31d
Rename zeit.co/new → zeit.co/import ( #10674 )
...
* Replace zeit.co/new → zeit.co/import
* Update deployment.md
2020-02-24 19:08:34 -05:00
Shu Uesugi
5f041447bc
Remove Now CLI reference from examples ( #10501 )
...
* Find/Replace "Deploy it to the cloud..."
* Find/Replace "Deploy it to the cloud..." (no colon)
* Find/Replace "Deploy it to the cloud..." for firebase
* Convert remaining ones
* Storybook deployment
* Update with-stripe-typescript
* Update contributing.md
* Remove `now`
* Update examples/with-stripe-typescript/README.md
Co-Authored-By: Luis Alvarez D. <luis@zeit.co>
2020-02-12 17:14:57 -05:00
Shu Uesugi
6804039e94
Make example READMEs more consistent ( #10124 )
...
* npx create → npm init
* Fix inconsistent instructions
* Update amp-first
* Update with-graphql-react
* with-firebase-cloud-messaging
* Update with-higher-order-component
* change create-next-app url
* Update create-next-app instruction
* Update instructions to use npm instead of npx
* Move "the idea behind the example" to top
* Rename
* Rename
* Update contributing.md with a README template
2020-01-16 23:23:56 +01:00
Luis Alvarez D
7edf0da0c4
Add the deploy button to compatible examples ( #9547 )
2019-11-27 11:40:58 -05:00
Joe Haddad
18a9c7e371
Improve linting rules to catch more errors ( #9374 )
...
* Update `packages/`
* Update examples
* Update tests
* Update bench
* Update top level files
* Fix build
* trigger
2019-11-10 19:24:53 -08:00
Luis Alvarez D
f10f3304fe
Replace the deprecated Create Next App URL ( #9032 )
2019-10-10 23:34:14 -04:00
Connor Davis
3fa04620e7
Remove Deploy To Now buttons ( #7126 )
...
* Remove Deploy To Now buttons
* Remove remaining buttons
2019-04-24 10:53:58 +02:00
Juan Olvera
7e12997af6
Test updater script on examples folder ( #5993 )
...
I wrote a [script](https://github.com/j0lv3r4/dependency-version-updater ) to update dependencies recursively in `package.json` files, e.g.:
```
$ node index.js --path="./examples" --dependencies="react=^16.7.0,react-dom=^16.7.0"
```
This PR contains the result against the examples folder.
2019-01-05 12:19:27 +01:00
Michael Herold
5b3578e58f
#4751 - Explicitly mention install when cloning examples ( #4758 )
...
Preferably this installation wouldn't be necessary, but in lieu of a fix...
#4751
2018-07-11 23:56:15 +02:00
James Hegedus
f2e56609cd
Examples: stabalise README format and create-next-app usage ( #4009 )
...
* Examples: clarify language around Yarn create & npx
* add missing READMEs and create-next-app usage
* suggest people tag jthegedus in firebase related issues
* add yarn alt instructions
* cerebraljs example readme & fixes
2018-04-03 14:19:05 +02:00
James Hegedus
b1d8b839dd
Examples: use npx and yarn create to run create-next-app on examples ( #4002 )
...
* remove global npm install of create-next-app
* add npx to create-next-app command in examples
* add bash to shell snippets
* add yarn create to next-app command in examples
* fix READMEs named with lowercase
* change READMEs to use UPPERCASE
2018-03-14 09:09:46 +01:00
Tim Neutkens
24c1ac6ca9
Use canary for all example downloads ( #3411 )
2017-12-06 18:12:42 -08:00
Fouad Matin
2528779394
examples: add create-next-app ( #3377 )
...
* examples: add create-next-app
* fix with-typescript readme
2017-12-02 20:30:17 -08:00
Tim Neutkens
47d3cfd0fd
Upgrade React for all examples ( #3113 )
2017-10-17 08:11:46 +02:00
Henrik
f14297dc80
Normalize example package.json files ( #2350 )
2017-06-23 10:46:44 +02:00
Paul Molluzzo
d08e027a8c
Add deploy now button to the top of all example READMEs ( #1763 )
...
* Add deploy now button to the top of all example READMEs
* Remove unnecessary whitespace changes
2017-04-22 14:51:51 +02:00
Tim Neutkens
7f0591896a
Use latest version of Next for all examples ( #1597 )
...
* Use latest for all examples
* Update yarn.lock
2017-04-03 09:46:35 +05:30
Lukas Strassel
4a73ccbb00
add react and react dom as peer ( #1024 )
...
- tackles #997
- add ./idea to gitignore for webstorm users
- update all the examples
2017-02-08 10:11:38 +05:30
Sébastien Dubois
a66ff658f4
Fix link ( #789 )
...
* Fix link
* Fix links
2017-01-16 18:23:24 -03:00
Tim Neutkens
f3ee901fa6
Use next.js beta for example ( #710 )
2017-01-09 13:40:45 -08:00
Dan Zajdband
f6ece560e4
Add/data fetch example ( #485 )
...
* Added data fetch example
* Finished updating examples install instructions and added data-fetch example to main readme
2016-12-23 08:05:49 +09:00
nkzawa
cae706d7b7
examples: use HTTPS URL
2016-12-22 18:14:12 +09:00
nkzawa
aa630279e6
examples: simplify download instruction
2016-12-22 18:07:54 +09:00
Dan Zajdband
c5d69f0585
Add/move examples ( #470 )
...
* Added redux and styled components (wip) examples.
* Updated examples readmes and package.json
* Fixed styled-components example
2016-12-21 21:10:54 -08:00
Guillermo Rauch
280655da62
Update index.js
2016-12-20 12:33:47 -08:00
Naoyuki Kanezawa
a87ef1a7af
Incorporate styled-jsx ( #420 )
...
* integrate styled-jsx
* define styles of pages with styled-jsx
* bump styled-jsx
* bump styled-jsx
* error-debug: fix style
* bump styled-jsx
* fix examples to use styled-jsx
* bump styled-jsx
2016-12-19 10:42:19 -08:00
nkzawa
83400a8f38
fix usage of next/css
2016-10-25 17:16:54 +09:00
Dan Zajdband
e164074f8e
Added glamor css ( #38 )
...
* Added glamor css
* Using pseudoclasses instead of calling functions
* Updated readme using style instead of default import for css
2016-10-21 09:39:20 -07:00
Guillermo Rauch
89089f5546
add some basic examples
2016-10-15 23:31:05 -05:00