-
Notifications
You must be signed in to change notification settings - Fork 937
iframe test #4712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
iframe test #4712
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| /// <reference types="next" /> | ||
| /// <reference types="next/image-types/global" /> | ||
| /// <reference types="next/navigation-types/compat/navigation" /> | ||
| import "./.next/types/routes.d.ts"; | ||
| import "./.next/dev/types/routes.d.ts"; | ||
|
|
||
| // NOTE: This file should not be edited | ||
| // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,8 @@ export default async function DevPage() { | |
| return ( | ||
| <main> | ||
| {/* <EditorViewClient /> */} | ||
| <MarkdownStreamDemo /> | ||
| {/* <MarkdownStreamDemo /> */} | ||
|
Comment on lines
4
to
+7
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Useful? React with 👍 / 👎. |
||
| <iframe height="500px" width="40%" src="https://evergarden.ai/iframe/nh7b9bwz6r72ntgr5e95ye5brs7tjacp" ></iframe> | ||
| </main> | ||
| ); | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change in
next-env.d.tsnow imports./.next/dev/types/routes.d.ts, but Next generates typed route definitions under./.next/types/routes.d.tsfor bothnext devandnext build. The new path does not exist in a normal build sotscandyarn typecheckwill fail with “Cannot find module './.next/dev/types/routes.d.ts'”. This file is auto‑generated and should keep the default path to avoid build breakage.Useful? React with 👍 / 👎.