supporto nello showcase di @core

This commit is contained in:
KillerBossOriginal 2025-03-27 23:11:47 +01:00
parent 5398a39673
commit 61e52a0956
Signed by: KillerBossOriginal
SSH key fingerprint: SHA256:g7H+SlV+I5Mm+ycywgv2DsfeQczLXX5KtmLO5Nkj9AE
3 changed files with 8 additions and 5 deletions

View file

@ -1,6 +1,7 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { DynamicProvider } from "@dynamic/core";
const geistSans = Geist({
variable: "--font-geist-sans",
@ -25,8 +26,9 @@ export default function RootLayout({
return (
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable}`}>
{children}
<DynamicProvider>
{children}
</DynamicProvider>
</body>
</html>
);

View file

@ -11,8 +11,7 @@
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0",
"next": "15.2.4",
"@dynamic/core": "workspace:@dynamic/core"
"next": "15.2.4"
},
"devDependencies": {
"typescript": "^5",

View file

@ -1,4 +1,5 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
@ -19,7 +20,8 @@
}
],
"paths": {
"@/*": ["./*"]
"@/*": ["./*"],
"@dynamic/core": ["../core/src/index"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],