supporto nello showcase di @core
This commit is contained in:
parent
5398a39673
commit
61e52a0956
3 changed files with 8 additions and 5 deletions
src/showcase
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"],
|
||||
|
|
Loading…
Add table
Reference in a new issue