Skip to content
Source
Sign inSign up
TanStack/router

docs: Update migrate-from-next-js.md #5533

MergedHirotoShioi(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/5533/headmerged by schiller-manuel(GitHub profile, opens in a new tab)

Showing 1 changed file with 7 additions and 1 deletion.

x
0 of 1 viewed, 1 left
7 additions and 1 deletiondocs/start/framework/react/migrate-from-next-js.mdModified
View file
@@ -129,7 +129,7 @@
HeadContent,
Scripts,
} from "@tanstack/react-router"
-import "./globals.css"
+import appCss from "./globals.css?url"
​
- export const metadata: Metadata = { // [!code --]
- title: "Create Next App", // [!code --]
@@ -145,6 +145,12 @@
{ title: "TanStack Start Starter" }
+ links: [
+ {
+ rel: 'stylesheet',
+ href: appCss,
+ },
+ ],
}),
component: RootLayout,