Commit graph

2080 commits

Author SHA1 Message Date
Sachin Raja
990ce64f03
custom server example: update to remove body-parser unneeded dep (#23899) 2021-04-19 21:58:57 -05:00
Joost Jansky
698ab55cb7
Enable JIT for Tailwind + Emotion CSS example (#23912) 2021-04-19 21:57:15 -05:00
Ondřej Chrastina
2186f1eb55
Update seed data for Kontent CMS example. (#24089) 2021-04-19 21:54:06 -05:00
Arthur
1508b4baf1
update with-realm-web example (#24241) 2021-04-19 21:53:32 -05:00
Valeri Karpov
e0da6a6057
cache Mongoose connections between hot reloads (#23321)
## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [ ] Make sure the linting passes - No, I get hundreds of unrelated errors like:
```
build/babel/plugins/next-page-config.ts(8,28): error TS2307: Cannot find module 'next/types'.
build/entries.ts(11,32): error TS2307: Cannot find module '@next/env'.
build/index.ts(1,31): error TS2307: Cannot find module '@next/env'.
build/index.ts(9,10): error TS2305: Module '"next/dist/compiled/nanoid/index.cjs"' has no exported member 'nanoid'.
```

Re: https://github.com/Automattic/mongoose/issues/9987, the current Mongoose example doesn't do a good job of persisting state between hot reloads. Not sure why Lambda doesn't keep the same `import mongoose` between reloads, but it doesn't seem to. This approach lines up more closely with [Mongoose's Lambda docs](https://mongoosejs.com/docs/lambda.html) and the existing `with-mongodb` example.
2021-04-19 20:08:15 +00:00
Jan Amann
6eabef68cd
Add next-intl example (#21447)
I've recently built an i18n library that is tailored to usage in Next.js: [next-intl](https://github.com/amannn/next-intl). It complements the internationalized routing capabilities of Next.js by managing translations and providing them to components, as well as handling date and time formatting. It's a bit young, but I'm using it in two production apps now and I'm quite confident in the library.

Would you want to include an example and link to it?
2021-04-19 19:58:36 +00:00
jai-sharma
79e7370b39
Bumping up the rebass version (v1 - v4) and fixing components and styling for it. (#23342)
The with-rebass example was using an outdate version of rebass(v1) which was throwing all sorts of deprecated warnings in the terminal, I've bumped up the version to the latest(v4) and made necessary changes to index.js page to keep it working.

If there is any issue, or some additional work needed, I am absolutely open to help.

Love the next.js framework and work you guys are doing ✌.
2021-04-19 19:48:38 +00:00
Mileta Dulović
3892453cd7
Fixed bug where styled-jsx examples don't work because of a wrong plugin (#23414)
## Bug

Fixes #23293. 

Problem was that `styled-jsx-plugin-sass` was used instead of `@styled-jsx/plugin-sass` so it didn't work. 

You can refer to the issue that is linked for more info.
2021-04-19 19:37:22 +00:00
Zorn
02f38c5ca8
Fix call to setInterval (#22357) 2021-04-19 19:10:18 +00:00
Brais Antela
fa138358e1
Minor fix to build command (#24158)
## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [x] Make sure the linting passes
2021-04-19 18:27:12 +00:00
JJ Kasper
557ecb0fa2
Update SWR in with-magic example (#24185)
## Documentation / Examples

- [x] Make sure the linting passes

Closes: https://github.com/vercel/next.js/issues/24184
2021-04-17 22:26:43 +00:00
Abdullah Mzaien
2e7d405fed
Update Chakra UI examples to latest versions. (#23585)
## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [x] Make sure the linting passes
2021-04-17 21:22:30 +00:00
Sahil Rajput
15133b47ec
Fix typescript types. (#23771)
Fix typescript type for cache and null check in mutation result.

## Bug

- fixes : https://github.com/vercel/next.js/issues/23770

**That issue deals with -**

- Return the codeflow if data is not returned from the mutation, and that fixes this warning.
![Screenshot from 2021-04-07 18-24-44](https://user-images.githubusercontent.com/31458531/113873069-18353a80-97d2-11eb-8c8c-9e9c9d280f95.png)

- Supply typescript typings for the target cache object.
![Screenshot from 2021-04-07 18-52-15](https://user-images.githubusercontent.com/31458531/113873504-80841c00-97d2-11eb-9b14-17d16a524c84.png)

Thanks.!
2021-04-15 18:55:30 +00:00
Lee Robinson
279e105279
Update .now.sh to .vercel.app. (#22359) 2021-04-14 09:46:06 -05:00
Lee Robinson
d302a52bc6
Update redux-toolkit-typescript README. (#23997) 2021-04-12 11:35:37 -05:00
Henrik Wenz
2cfcab8a74
Update with-electron example (#23873)
This PR updates `example/with-electron`:

- Updates electron to version [12 (latest stable)](https://www.electronjs.org/releases/stable#12.0.2)
- Introduces the new `contextBridge` to increase security ([docs](https://www.electronjs.org/docs/api/context-bridge))



## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [x] Make sure the linting passes
2021-04-11 15:38:15 +00:00
Santi Dalmasso
0af3b52640
Update Tailwind CSS example with emotion to use JIT (#23843)
## Documentation / Examples

- [X] Make sure the linting passes
2021-04-08 23:41:19 +00:00
Pranav P
cffdf1e088
Update tailwind css to v2.1 with jit support (#23793)
## Documentation / Examples

- [x] Make sure the linting passes
2021-04-08 16:52:15 +00:00
Dominik Wilkowski
761d72fbc0
Adding a plausible example (#23814)
## Documentation / Examples

- [X] Make sure the linting passes

Adding a [Plausible](https://plausible.io/) example for a google analytics alternative.
2021-04-08 14:09:19 +00:00
Max Leon
d34c9f16d8
Fixed issue accessing index page of "with-reason-relay" example (#23780)
Within the "with-reason-relay" example:
- Redirect from NextJS-routed root route to reason-compiled home



## Bug

- [x] Related issues linked using `fixes #23607 `
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [x] Related issues linked using `fixes #23607 `
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [x] Make sure the linting passes
2021-04-07 19:18:56 +00:00
Rishabh Poddar
f7d0bd115c
Update to with-supertokens example (#23728)
- Updated dependency version
- Optimises for serverless execution by taking advantage of `/tmp` folder (enabled via a config setting)
2021-04-06 12:45:09 +00:00
Rayhan Arayilakath
0d98cd9037
Fix: Codeblock Syntax Highlighting (#23545)
I don't believe NodeJS code should receive Bash syntax highlighting :).



## Bug

- [x] Related issues linked using `fixes #number`
- [] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [ ] Make sure the linting passes
2021-04-04 01:39:54 +00:00
david
9d2962cfab
fix with-mqtt-js example. (#23636)
## Documentation / Examples

- [x] Make sure the linting passes

***

Related to #23607

We should use `NEXT_PUBLIC_`  as [stated here](https://nextjs.org/docs/basic-features/environment-variables) to expose environment variables to the browser.

The code was already using the correct variables name.
2021-04-02 16:33:30 +00:00
david
6b2a2d9bc5
fix with-styled-jsx-plugins example. (#23635)
## Documentation / Examples

- [x] Make sure the linting passes

***

Related to #23607

Bump packages fixed the example and worked fine on macOS.
2021-04-02 16:28:34 +00:00
david
c46e99d346
fix with-web-worker example. (#23634)
## Documentation / Examples

- [x] Make sure the linting passes

***

Related to #23607

Instead of using a third-party loader `worker-plugin`, we leverage the use of `webpack 5` built-in worker support.

https://nextjs.org/docs/messages/webpack5
https://webpack.js.org/guides/web-workers/
2021-04-02 16:20:45 +00:00
rpxs
be0957650d
fixes a part of #23607 remove with-glamor example (#23639)
## Bug

- [x] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [ ] Make sure the linting passes

The `with-glamor` package has been unmaintained for 4 years now.
2021-04-02 13:38:58 +00:00
JJ Kasper
bfd36bd227
Update custom-routes-proxying to use fallback rewrites (#23610)
This updates to use the new `fallback` rewrites support instead of the previous no-op rewrite workaround. 


## Documentation / Examples

- [x] Make sure the linting passes
2021-04-01 16:48:49 +00:00
Sam Robbins
ba81b6ab2a
Delete examples/with-style-sheet directory (#23609)
The underlying package [style-sheet](https://github.com/giuseppeg/style-sheet) has been archived, and the example doesn't currently work, so I think it's better deleted. Closes part of issue #23607 


## Documentation / Examples

- [x] Make sure the linting passes
2021-04-01 16:33:30 +00:00
Justin Bennett
68fc4deaef
Remove redundant prefresh dependency in with-preact example (#23567)
The package `next-plugin-preact` [already contains](38cfb182dd/packages/next-plugin-preact/package.json (L25)) the dependency `@prefresh/next` so it shouldn't be explicitly installed.

## Documentation / Examples

- [x] Make sure the linting passes
2021-03-31 14:03:39 +00:00
Lee Robinson
d49f978a17
Update with-docker example and deployment docs. (#23486)
## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [x] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [x] Make sure the linting passes
2021-03-28 20:32:09 +00:00
Scott MacDonnell
5fde82a556
Add links to dependencies in with-three-js example README (#23470)
## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [x] Make sure the linting passes
2021-03-28 15:23:30 +00:00
Steven
9973b8cb9f
[examples] Fix image-component typo (#23437)
## Documentation / Examples

- [x] Make sure the linting passes
2021-03-26 21:57:21 +00:00
Turadg Aleahmad
4e5a359ae5
update with-linaria example (#23332)
## Documentation / Examples

* removes deprecated `@zeit/next-css`.
* adds https://github.com/Mistereo/next-linaria to work with the new built-in CSS functionality.
* updates Linaria to latest release (v3 will require https://github.com/Mistereo/next-linaria/pull/3 ) 
* adds an example of using Linaria without React
* gitignores `.linaria-cache`
2021-03-26 18:02:55 +00:00
samsisle
dee70f0237 Update next.config.js rewrites 2021-03-25 17:53:22 -07:00
Pedro Duarte
1afcf67c0f
with-stitches Fix Stitches config (#23394)
This PR fixes the Stitches config. 

Thanks!

## Documentation / Examples

- [x] Make sure the linting passes
2021-03-25 14:40:05 +00:00
Pedro Duarte
3141b6ff70
with-stitches: Use latest version (#23343)
Hey 👋 

I realise neither I or you want to keep reviewing and merging these "Update Stitches" PRs

So I'm setting it to the `latest`.

Thanks (and sorry)

## Documentation / Examples

- [x] Make sure the linting passes
2021-03-24 14:07:36 +00:00
Pedro Duarte
873cd8355f
Update with stitches example (#23326)
Hey 👋 

Just a quick update to the latest version of Stitches. 

Thanks! <3

## Documentation / Examples

- [x] Make sure the linting passes
2021-03-23 22:21:04 +00:00
Lee Robinson
361b56b2c2
Update dependencies for blog starter. (#23317)
Closes https://github.com/vercel/next.js/issues/23299 to fix issues with NPM 7.
2021-03-23 20:02:03 +00:00
Mohamed SADAT
9cc6ba93ab
update with-xstate example and add documentation for inspect package usage (#23287)
Hello this PR is in order to update xstate to the lastest version and use the `createMachine` method instead of `Machine`.
I also added the inspect mode in order to show how we could use into a next.js app.

## Documentation / Examples

- [x] Make sure the linting passes
2021-03-23 15:04:53 +00:00
Lee Robinson
b7588fd936
[examples] Small updates to blog example. (#23258) 2021-03-22 22:10:15 -05:00
Pedro Duarte
2ef00a3c4a
Update with-stitches example (#23281)
## Examples

- [x] Make sure the linting passes

This PR updates the `with-stitches` example to use the Beta `0.1.0` release.
2021-03-22 21:29:58 +00:00
Julien Karst
8e4123e9d9
feat: add exemple with redux toolkit in typescript (#23250)
This pull request add typescript to the current redux-toolkit example on next.js. @markerikson suggested this nice idea to add a ts example: https://twitter.com/acemarke/status/1370877104527712259?s=20

This example is with the previous redux-toolkit example which was more complex. An example with the current example is available here: https://github.com/vercel/next.js/pull/23249

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [ ] Make sure the linting passes
2021-03-22 03:21:13 +00:00
Lee Robinson
6a418b7da9
[examples] Add portfolio starter kit. (#23212) 2021-03-21 19:44:59 -05:00
Nikita
ebfbbdb331
Fix broken link (#23230) 2021-03-19 20:58:22 +00:00
Ciprian Caba
919ac17f76
Update reference to commit sha (#23215)
VERCEL_GIT_COMMIT_SHA is now available by default across all integrations
2021-03-19 16:49:20 +00:00
Lee Robinson
e2cdf6d581
Update README for sentry example. (#23205)
The packages referenced here were removed.
2021-03-18 18:16:03 +00:00
Mokshit Jain
aaa999d696
Make @tailwindcss/jit default engine for Tailwind CSS (#23192)
This Pull Request makes [`@tailwindcss/jit`](https://github.com/tailwindlabs/tailwindcss-jit) the default engine for Tailwind CSS.

It has the following advantages:
- Lightning-fast build times because the CSS is generated on demand.
- Every variant is enabled out of the box.
- Generate arbitrary styles without writing custom CSS.
- Better performance in browser dev-tools.
2021-03-18 15:57:31 +00:00
Lee Robinson
f827bf0cdc
Update Redis example to use Tailwind. (#23131)
And an improved design 😄 

https://roadmap-redis.vercel.app/
2021-03-17 21:11:57 +00:00
Mokshit Jain
7dc45a325e
Add Typescript section to Redux Toolkit Example (#23166)
I have added a new section to the `with-redux-toolkit` example on setting up Typescript with Redux Toolkit and React-Redux.

It links the redux toolkit documentation and Next.js documentation on adding Typescript to a Next.js project.
2021-03-17 18:59:14 +00:00
Mokshit Jain
091d56ade8
Simplify redux toolkit example and update packages (#23047)
I have simplified the `with-redux-toolkit` example and changed the directory structure to "feature folders". I have removed the `notes` page and API route as it wasn't directly related to the redux toolkit. This example is also identical to the official [cra redux template](https://github.com/reduxjs/cra-template-redux). All the dependencies have also been updated.
2021-03-16 20:15:54 +00:00
René Keller
44081d0852
fix(lib/db): type mismatch (#23107)
Fixes "Type 'string' is not assignable to type 'number'." TS warning
2021-03-16 10:31:15 +00:00
Karthikeyan Ranasthala
c1b2b3f91f
Add an example for styled-jsx with content security policy (#23021)
This is an example on how to use styled-jsx with content security policy.
2021-03-12 19:03:24 +00:00
Nabil Boussouf
371aa608b2
Install tailwindcss as a development dependency (#22964)
Set tailwindcss as a development dependency https://tailwindcss.com/docs/guides/nextjs#install-tailwind-via-npm
2021-03-11 14:16:36 +00:00
DOUGES
40f4cf4866
chore: adds compiled css example (#22786)
Hiya! I was asked to add an example of how to use [Compiled](https://compiledcssinjs.com/) with Next.js, figured I might as well at it to the source 😄. Let me know if there's any changes needed.
2021-03-08 21:25:49 +00:00
harshit bhalla
e235f7fa4e
Corrected the url to strapi documentation (#22870) 2021-03-08 13:06:13 +00:00
Laith Younes
3f9c469bca
Add RTL to with-next-translate example (#22808)
### Arabic/Hebrew RTL to `with-next-translate` Example
Added a simple example to change HTML direction based on the currently selected language

### References: 
- [#19049](https://github.com/vercel/next.js/discussions/19049)
- [#18667](https://github.com/vercel/next.js/issues/18667)
2021-03-08 00:33:42 +00:00
Edaz
e861ada67d
Add deploy with Vercel button to api-routes-apollo-server-and-client example (#22841) 2021-03-07 17:08:35 +00:00
Tim
1f5c2c8513
Add example prepr cms (#22776)
Added preview example with Prepr CMS.

Working demo at https://next-blog-prepr.vercel.app/
2021-03-04 19:12:42 +00:00
NkxxkN
f00f4bd912
Examples bump supertokens (#22764)
Hey team!
We are updating the `with-supertokens` example to reflect the use of credentials alongside third party login

See: 
![image](https://user-images.githubusercontent.com/5072452/109943811-dd714b80-7cd5-11eb-91b5-5a966a1c1e2d.png)

This PR bumps the versions and add a base example implementation.
2021-03-04 14:18:19 +00:00
Grigory
e04d399ab5
Add missing dependencies in example (#22712)
@babel/plugin-proposal-class-properties is missing in with-mobx-react-lite example
2021-03-03 13:23:53 +00:00
Yasser A.Idrissi
8dfe5a3bd5
deps(examples/hello-world): Upgrade to React v17 (#22692) 2021-03-02 16:44:39 +00:00
Yann Pringault
1352ba1dcf
[examples/with-typescript] Upgrade to React v17 (#22674)
This avoids the warning when you init a new Next.js app with the example:

```
warn  - React 17.0.1 or newer will be required to leverage all of the upcoming features in Next.js 11. Read more: https://err.sh/next.js/react-version
```
2021-03-02 14:10:38 +00:00
NkxxkN
293c243ab7
add-supertokens-to-authentication.md (#22223)
Hey team. This PR is a follow up on https://github.com/vercel/next.js/pull/21384 to add a reference to `with-supertokens` example to authentication doc.
2021-03-01 15:53:17 +00:00
Rostyslav Sipakov
4e9c5eeae0
Fix typescript-eslint-jest example to remove Prettier package causing errors (#22452)
Delete "prettier/@typescript-eslint" from .eslintrc.json. 

After update to the last version I getting this error on running lint: ESLint couldn't find the config "prettier/@typescript-eslint" to extend from. 
I explore this issue https://github.com/prettier/eslint-config-prettier/pull/175 and I think those extensions aren't needed anymore.
2021-03-01 02:43:23 +00:00
Nick Babcock
6c59b77702
Switch to stable rust for with-webassembly example (#22582)
Since Rust 1.30 (released Oct 2018), the wasm target is supported on stable.

ref: https://rustwasm.github.io/book/game-of-life/setup.html#the-rust-toolchain
2021-02-27 21:48:49 +00:00
LUIS ANAYA
66d2eae2c1
Update the react-three-js example. (#22549)
- Removed deprecated drei dependency. 
- Added @react-three/drei and updated imports. 
- Upgraded other dependencies to latest versions.
2021-02-25 23:22:35 +00:00
Noah Fischer
c81eadc6dc
moving to upstash and new integration (#22436) 2021-02-24 23:51:41 +00:00
Johan Eliasson
a78e904fc8
example: Nhost with auth and realtime graphql example added (#22493) 2021-02-24 14:18:05 +00:00
Yasser A.Idrissi
4b587d34b8
fix(examples/with-three-js): Upgrade drei@2.2.21 & three@0.125.0 #22365 (#22431)
If the three dependency is upgraded to version 0.125.0 and upwards, the following errors occur:
- Compilation error: Attempted import error: 'Geometry' is not exported from 'three'.
- ReferenceError: Blob is not defined.

Solution: 
Upgrade drei to `2.2.21`.
2021-02-22 20:09:04 +00:00
unimprobable
f9de10f64d
added port config var to migrate-db.js and .env (#22395)
Added port config variable to the migrate-db.js script and .env.local.example files. This allows users to set the port for remote databases like Digital Ocean that don't use the default port.
2021-02-22 13:32:23 +00:00
Ikko Ashimine
85f7efaf1f
chore: fix typo in web.js (#22150)
hte -> the
2021-02-21 22:54:32 +00:00
Vitali Zaidman
8cda6b41b1
improved the example on how to use WDYR with the latest next.js (#21651)
also updated the readme
2021-02-19 16:41:56 +00:00
Rokas Simkus
3c82d05aa6
Fix/Update (with-chakra-ui-typescript) dependencies (#22328)
## Issue
![image](https://user-images.githubusercontent.com/20374864/108486250-8e272600-72a6-11eb-9bb6-0d2a3d76ccdc.png)

## Changes

- Fix framer-motion dependency
- Update dependencies to the latest versions
2021-02-19 09:47:28 +00:00
Balázs Orbán
6af69793aa
Point to official next-auth example (#22282)
We would like to maintain a single `next-auth` example under our organization. This PR points readers of the Next.js docs to our repository, instead of `with-next-auth`

Also, as @kriscarle pointed out in https://github.com/nextauthjs/next-auth/issues/1132#issuecomment-772375650, we should maybe only maintain a single example to be able to keep it up-to-date more easily.
2021-02-18 15:39:38 +00:00
Michael McQuade
5032dd926a
Change zeit fetch to vercel fetch (#21913)
This PR does the following:

- Update documentation referencing @zeit/fetch to @vercel/fetch
- Switch packages @zeit/fetch to @vercel/fetch
- ~~Fix `browser.js` to actually use @vercel/fetch, it was only using unfetch directly before~~
- Update React to 17 
- Change folder name and package name
2021-02-18 15:09:52 +00:00
Maximilian Grundke
c11716703b
Fix typo in German translation (#22291)
Fixes a small typo in the with-rosetta-i18n example.
2021-02-18 11:00:20 +00:00
Ségolène Alquier
e917687773
[examples] Replace the GA_TRACKING_ID string with env variable (#21817) 2021-02-16 10:25:09 -06:00
Joe Palmieri
26dffdcbf5
Update emotion example package names in readme (#22144)
The links for `emotion` and `emotion-server` in the emotion example's readme were 404ing.

After going to Emotion's repo, I noticed [the packages were renamed](https://github.com/emotion-js/emotion/issues/1635).

This PR updates the links: `emotion` -> `emotion/css` and `emotion-server` -> `emotion/server`
2021-02-16 08:45:13 +00:00
Davi Mello
e2f700fd61
Fixing grammar (#22201)
Where it reads "We start of..." should be "We start off..".
2021-02-16 08:38:26 +00:00
Rishabh Poddar
f6e2b06cdf
Add Supertokens example (#21384) 2021-02-15 15:41:45 -06:00
Markus Maerzhase
fa8ab993d0
Fix with-firebase-hosting running locally (#21971) 2021-02-09 08:52:21 -06:00
Smit Barmase
74e0c6d6d8
with-apollo SSR example added. (#21956)
Co-authored-by: Lee Robinson <me@leerob.io>
2021-02-08 23:12:01 -06:00
Espen Hovlandsdal
394bbf6207
Improve sanity.io example (#18227) 2021-02-08 21:54:01 -06:00
Kazutaka NAKAMURA
5d5862693f
Upgrade packages for example/with-typescript-eslint-jest (#21963) 2021-02-08 21:08:26 -06:00
Joost Jansky
e69a4d7a23
[examples] Added blog-starter example using Ghost CMS (#19990) 2021-02-07 12:27:47 -06:00
GH Lee
fb843a5577
[examples] Fix for custom server SSR caching (#18786) 2021-02-07 12:20:00 -06:00
Michael McQuade
1773b991bc
[examples] Wrap entire app with Styletron provider for with-styletron (#21908) 2021-02-07 11:30:41 -06:00
Rafael Laurindo
984a78d545
Update React version in Tailwind example (#21906)
This PR updates the React packages version in the example with Tailwind.
Thus solving the new version notice when starting the project in dev.

Notice screenshot: 📸 
![image](https://user-images.githubusercontent.com/25041169/107084102-5bc0f780-67d5-11eb-82bb-b9ea2682ec5c.png)

Now with the updated version:📸 
![image](https://user-images.githubusercontent.com/25041169/107084154-71ceb800-67d5-11eb-95c9-54ea534145dd.png)
2021-02-05 20:29:20 +00:00
Flavio Wuensche
ee184a11d8
Add example for headers and link in the docs (#21821) 2021-02-05 09:07:22 -06:00
Kazutaka NAKAMURA
a98ba4c808
Update react to 17.0.1 in example/with-typescript-eslint-jest (#21870)
I met following warning message after invoking create-next-app for ` example/with-typescript-eslint-jest `:

```
 % yarn dev
yarn run v1.22.10
$ next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
warn  - React 17.0.1 or newer will be required to leverage all of the upcoming features in Next.js 11. Read more: https://err.sh/next.js/react-version
event - compiled successfully
```

I have followed the instructions in the link, and this patch is. Please merge this.

Thank you for reading.
2021-02-04 20:13:57 +00:00
Pete Correia
9a930b69e5
Fix Linaria link (#21826) 2021-02-04 08:12:19 +00:00
Lee Robinson
5536526826
Remove dotenv from Relay example. (#21814)
Address one of the bullet points from https://github.com/vercel/next.js/issues/15225 to remove unused dependencies on `dotenv` now that it's supported by default in Next.js.
2021-02-03 19:33:51 +00:00
Balázs Orbán
e750f4378c
fix: send url to gtm.pageview (#21747)
`gtm.pageview` was called without sending an actual URL, while it is required here:

36aeca8f04/examples/with-google-tag-manager/lib/gtm.js (L3-L6)
2021-02-03 15:28:25 +00:00
Michael McQuade
4cadb68dfe
Return a number from sort compare function (#21763)
Changed the return values of the compare function from string values to numbers
2021-02-03 15:21:11 +00:00
Lee Robinson
5a73859fe8
Update docs and Create Next App to use API Middlewares by default. (#21639) 2021-01-28 23:34:03 +00:00
Matt Ruby
8f0c15544d
Grammatical fixes (#21644) 2021-01-28 22:52:56 +00:00
Luis Alvarez D
0370c037fc
Update links that go to vercel.com/now (#21556) 2021-01-26 18:59:01 +00:00
Kazutaka NAKAMURA
07d4af9307
suppressing eslint warning (#21163) 2021-01-26 10:22:43 -05:00
Ymir
9a63f3ca8a
Corrected links in with-yarn-workspaces (#21523) 2021-01-25 12:34:40 -05:00
Dominik Felber
1dc430883e
Update dependencies of with-tailwindcss example (#21517) 2021-01-25 12:10:32 -05:00