- 11 1月, 2021 2 次提交
-
-
由 Michael McQuade 提交于
-
由 Victor Assis 提交于
-
- 10 1月, 2021 1 次提交
-
-
由 Tim Neutkens 提交于
-
- 08 1月, 2021 3 次提交
-
-
由 JJ Kasper 提交于
This adds retrying for getting redbox content and ensures the `next.config.js` file is cleaned up for the dynamic-routing test suite. x-ref: https://github.com/vercel/next.js/pull/20786#issuecomment-755929891
-
由 Daniel Stumme 提交于
This single sentence addition would have saved me about a day of troubleshooting. This doc doesn't mention how the inline occurs. The only place I could eventually find that mentions this is the server & public runtime config pages.
-
- 07 1月, 2021 15 次提交
-
-
由 tarunama 提交于
## summary - add return types - move `locale` variable const from let - ~use [strict equality](https://github.com/vercel/next.js/pull/20806/files#diff-2433946f9a058f1b070138d12c20f10a9128e46408033629181f9f7fc3b9b9b2R275)~
-
由 Luc Leray 提交于
-
由 Jeremy Balog 提交于
-
由 Luc Leray 提交于
Fix all deploy button URLs in the Next.js repo to follow the following format: ``` https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/<EXAMPLE_NAME>&project-name=<EXAMPLE_NAME>&repository-name=<EXAMPLE_NAME> ``` The detailed docs for the Deploy Button can be found here: https://vercel.com/docs/more/deploy-button. Also updates legacy Vercel import flow URLs (starting with vercel.com/import or with vercel.com/new/project), to use the new vercel.com/new URLs. --- For example, for the `hello-world` example: The URL is https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/hello-world&project-name=hello-world&repository-name=hello-world And the deploy button looks like this: [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/hello-world&project-name=hello-world&repository-name=hello-world) --- For reference, I used the following regexes to search for the incorrect URLs ``` \(https://vercel.com/import/git\?s=https://github.com/vercel/next.js/tree/canary/examples/(.*)\) \(https://vercel.com/import/git\?c=1&s=https://github.com/vercel/next.js/tree/canary/examples/([^&]*)(.*)\) \(https://vercel.com/import/project\?template=https://github.com/vercel/next.js/tree/canary/examples/(.*)\) https://vercel.com/import/git https://vercel.com/import/select-scope https://vercel.com/import https://vercel.com/new/project ```
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 Simon Taggart 提交于
* feat: add Twilio Paste example * Updated readme Co-authored-by: NLuis Alvarez <luis@vercel.com> Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
由 Bar 提交于
-
由 Joe Haddad 提交于
-
由 Shu Uesugi 提交于
Rename https://next-blog-starter.now.sh to https://next-blog-starter.vercel.app (@lfades renamed the domain name)
-
由 David ALLIX 提交于
Follow https://github.com/vercel/next.js/pull/20628
-
由 Sebastian König 提交于
* Added with-mqtt-js example * Fixed eslint/prettier errors * Update README.md * Updated with-mqtt-js to latest next/react versions, WIP: Refactoring useMqtt() * A2PC * Working example, unrefactored * A2PC * Ran prettier * Used NEXT_PUBLIC_ prefix instead of keys as props * Updated readme and added .env.local.example Co-authored-by: NSebastian König <sebastian_koenig@cotyinc.com> Co-authored-by: NLuis Alvarez D <luis@vercel.com>
-
由 Joe Haddad 提交于
-
由 Farhan Ullah 提交于
-
由 Damien Varron 提交于
Fixes #16864 The `router` can be missing in a test environment when trying to render a `Link` component. This PR bails out of `router.prefetch()` when `router` is missing. The alternative is for users to mock `next/link` or to mock the `router` and wrap their test components. Please let me know any feedback.
-
- 06 1月, 2021 14 次提交
-
-
由 Michael Aufreiter 提交于
-
由 Tim Neutkens 提交于
Fixes #20403
-
由 JJ Kasper 提交于
This updates the error shown when a path doesn't match the dynamic route in `getStaticPaths` to not include the `locale` since this isn't considered when matching against the dynamic route.
-
由 JJ Kasper 提交于
This ensures rewrites to API routes with i18n enabled handles as an API route correctly. This also adds tests for API routes in the i18n test suite Fixes: https://github.com/vercel/next.js/issues/20725
-
由 Benjamin Bender 提交于
Fix mini typo
-
由 Lee Robinson 提交于
Docs for https://github.com/vercel/next.js/pull/20216/.
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
This is a follow-up to https://github.com/vercel/next.js/pull/20596 and https://github.com/vercel/next.js/pull/20658 ensuring the `as` value is prefixed with the `basePath` correctly with a query. This updates the test to also ensure no errors are shown when a query is present on the index `basePath` route. Fixes: https://github.com/vercel/next.js/pull/20757#issuecomment-754338510
-
由 Josh 提交于
* Updated deploy button URL * Update bottom button
-
由 Thomas Wang 提交于
You can initialize the Firebase app instance without checking for window, but it is required for using the analytics module.
-
由 Alex Castle 提交于
This is a #19325 reconfigured to support a loader passed in via a `loader` prop on the Image component, rather than using a config-based approach. The idea is that applications wanting to use a custom loader will create a wrapper element for the image component that incorporates that loader. See a simple example of this pattern in the integration tests. This solution is similar to the one prototyped by @ricokahler in #20213 and described at https://github.com/vercel/next.js/issues/18606#issuecomment-720149156 --- Closes #19325 Fixes #18606
-
由 kaykdm 提交于
Co-authored-by: NKanta Kodama <kanta.kodama@linecorp.com>
-
由 Tom 提交于
-
由 Tom 提交于
-
- 05 1月, 2021 5 次提交
-
-
由 tarunama 提交于
## summary - Explicitly define return types - Add type of [Observer](https://github.com/vercel/next.js/pull/20728/files#diff-5de64b97b2f26e4e41d197a8295e8750825c75b8ca557a4b947a4c3569345974R7)
-
由 JJ Kasper 提交于
Closes: https://github.com/vercel/next.js/issues/20197
-
由 Tuan Nguyen 提交于
`getLoginSession` takes only one argument
-
由 Tim Neutkens 提交于
-
由 JJ Kasper 提交于
Adds the `pr` section from https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#pr-triggers to filter paths that don't require test runs on PRs.
-