mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
fix composite error
This commit is contained in:
5
.changeset/slow-squids-attend.md
Normal file
5
.changeset/slow-squids-attend.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"create-better-t-stack": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
add composite in server for references
|
||||||
@@ -18,6 +18,9 @@
|
|||||||
"name": "next"
|
"name": "next"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
{#unless (or (eq backend "convex") (eq backend "none"))}}
|
||||||
|
"composite": true,
|
||||||
|
{{/unless}}
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": ["./src/*"]
|
||||||
}
|
}
|
||||||
@@ -20,6 +20,9 @@
|
|||||||
"node", "bun"
|
"node", "bun"
|
||||||
{{/if}}
|
{{/if}}
|
||||||
],
|
],
|
||||||
|
{{#unless (or (eq backend "convex") (eq backend "none"))}}
|
||||||
|
"composite": true,
|
||||||
|
{{/unless}}
|
||||||
"jsx": "react-jsx"{{#if (eq backend 'hono')}},
|
"jsx": "react-jsx"{{#if (eq backend 'hono')}},
|
||||||
"jsxImportSource": "hono/jsx"{{/if}}
|
"jsxImportSource": "hono/jsx"{{/if}}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ const DrawerLayout = () => {
|
|||||||
<Drawer>
|
<Drawer>
|
||||||
<Drawer.Screen
|
<Drawer.Screen
|
||||||
name="index"
|
name="index"
|
||||||
options={{
|
options=\{{
|
||||||
headerTitle: "Home",
|
headerTitle: "Home",
|
||||||
drawerLabel: "Home",
|
drawerLabel: "Home",
|
||||||
drawerIcon: ({ size, color }) => (
|
drawerIcon: ({ size, color }) => (
|
||||||
@@ -20,7 +20,7 @@ const DrawerLayout = () => {
|
|||||||
{{#if (includes examples "todo")}}
|
{{#if (includes examples "todo")}}
|
||||||
<Drawer.Screen
|
<Drawer.Screen
|
||||||
name="todos"
|
name="todos"
|
||||||
options={{
|
options=\{{
|
||||||
headerTitle: "Todos",
|
headerTitle: "Todos",
|
||||||
drawerLabel: "Todos",
|
drawerLabel: "Todos",
|
||||||
drawerIcon: ({ size, color }) => (
|
drawerIcon: ({ size, color }) => (
|
||||||
@@ -31,7 +31,7 @@ const DrawerLayout = () => {
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
<Drawer.Screen
|
<Drawer.Screen
|
||||||
name="(tabs)"
|
name="(tabs)"
|
||||||
options={{
|
options=\{{
|
||||||
headerTitle: "Tabs",
|
headerTitle: "Tabs",
|
||||||
drawerLabel: "Tabs",
|
drawerLabel: "Tabs",
|
||||||
drawerIcon: ({ size, color }) => (
|
drawerIcon: ({ size, color }) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user