-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'create-houdini': patch | ||
--- | ||
|
||
improve template for projects with local schemas |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
query HelloHoudini { | ||
hello | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { PageProps } from './$types' | ||
|
||
export default function ({ Hello }: PageProps) { | ||
return ( | ||
<div className="flex flex-col gap-8"> | ||
<h2>Home</h2> | ||
|
||
<p>{Hello.message}</p> | ||
</div> | ||
) | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
query HelloHoudini { | ||
hello | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export default function ({ Hello }) { | ||
return ( | ||
<div className="flex flex-col gap-8"> | ||
<h2>Home</h2> | ||
|
||
<p>{Hello.message}</p> | ||
</div> | ||
) | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export default function () { | ||
return ( | ||
<div> | ||
<div className="flex flex-col gap-8"> | ||
<h2>Home</h2> | ||
|
||
<p> | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.