Skip to content

Commit

Permalink
TanStack Start works!!
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Nov 21, 2024
1 parent ff34e8f commit d69ae48
Show file tree
Hide file tree
Showing 19 changed files with 387 additions and 165 deletions.
1 change: 1 addition & 0 deletions astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@astrojs/check": "^0.9.4",
"@sanity/client": "^6.22.5",
"astro": "^5.0.0-beta.8",
"groq": "^3.64.2",
"typescript": "^5.6.3"
}
}
1 change: 1 addition & 0 deletions next-13/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"@sanity/client": "^6.22.5",
"groq": "^3.64.2",
"next": "13.5.7",
"react": "^18",
"react-dom": "^18"
Expand Down
1 change: 1 addition & 0 deletions next-14/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"@sanity/client": "^6.22.5",
"groq": "^3.64.2",
"next": "14.2.18",
"react": "^18",
"react-dom": "^18"
Expand Down
38 changes: 17 additions & 21 deletions next-14/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,35 +1,31 @@
import type { Metadata } from "next";
import localFont from "next/font/local";
import "./globals.css";
import type {Metadata} from 'next'
import localFont from 'next/font/local'
import './globals.css'

const geistSans = localFont({
src: "./fonts/GeistVF.woff",
variable: "--font-geist-sans",
weight: "100 900",
});
src: './fonts/GeistVF.woff',
variable: '--font-geist-sans',
weight: '100 900',
})
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff",
variable: "--font-geist-mono",
weight: "100 900",
});
src: './fonts/GeistMonoVF.woff',
variable: '--font-geist-mono',
weight: '100 900',
})

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
title: 'Create Next App',
description: 'Generated by create next app',
}

export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
children: React.ReactNode
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
</body>
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>{children}</body>
</html>
);
)
}
5 changes: 1 addition & 4 deletions next-15/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"@sanity/client": "^6.22.5",
"groq": "^3.64.2",
"next": "15.0.3",
"react": "rc",
"react-dom": "rc"
Expand All @@ -23,9 +24,5 @@
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
}
}
5 changes: 1 addition & 4 deletions next-canary/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"@sanity/client": "^6.22.5",
"groq": "^3.64.2",
"next": "canary",
"react": "rc",
"react-dom": "rc"
Expand All @@ -23,9 +24,5 @@
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
}
}
1 change: 1 addition & 0 deletions nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"dependencies": {
"@sanity/client": "^6.22.5",
"groq": "^3.64.2",
"nuxt": "^3.14.159",
"vue": "latest",
"vue-router": "latest"
Expand Down
Loading

0 comments on commit d69ae48

Please sign in to comment.