create-puck-app 0.16.0-canary.eb42734 → 0.16.0-canary.f761e5f
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/templates/next/app/[...puckPath]/page.tsx +1 -1
- package/templates/next/app/favicon.ico +0 -0
- package/templates/next/app/puck/[...puckPath]/client.tsx +1 -1
- package/templates/next/app/puck/[...puckPath]/page.tsx +1 -1
- package/templates/next/package.json.hbs +1 -1
- package/templates/remix/app/root.tsx +3 -0
- package/templates/remix/app/styles/shared.css +3 -0
package/package.json
CHANGED
Binary file
|
@@ -4,7 +4,7 @@ import type { Data } from "@measured/puck";
|
|
4
4
|
import { Puck } from "@measured/puck";
|
5
5
|
import config from "../../../puck.config";
|
6
6
|
|
7
|
-
export function Client({ path, data }: { path: string; data: Data }) {
|
7
|
+
export function Client({ path, data }: { path: string; data: Partial<Data> }) {
|
8
8
|
return (
|
9
9
|
<Puck
|
10
10
|
config={config}
|
@@ -9,8 +9,11 @@ import {
|
|
9
9
|
ScrollRestoration,
|
10
10
|
} from "@remix-run/react";
|
11
11
|
|
12
|
+
import styles from "~/styles/shared.css";
|
13
|
+
|
12
14
|
export const links: LinksFunction = () => [
|
13
15
|
...(cssBundleHref ? [{ rel: "stylesheet", href: cssBundleHref }] : []),
|
16
|
+
{ rel: "stylesheet", href: styles },
|
14
17
|
];
|
15
18
|
|
16
19
|
export default function App() {
|