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"
|
||||
}
|
||||
],
|
||||
{#unless (or (eq backend "convex") (eq backend "none"))}}
|
||||
"composite": true,
|
||||
{{/unless}}
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
@@ -20,6 +20,9 @@
|
||||
"node", "bun"
|
||||
{{/if}}
|
||||
],
|
||||
{{#unless (or (eq backend "convex") (eq backend "none"))}}
|
||||
"composite": true,
|
||||
{{/unless}}
|
||||
"jsx": "react-jsx"{{#if (eq backend 'hono')}},
|
||||
"jsxImportSource": "hono/jsx"{{/if}}
|
||||
},
|
||||
|
||||
@@ -9,7 +9,7 @@ const DrawerLayout = () => {
|
||||
<Drawer>
|
||||
<Drawer.Screen
|
||||
name="index"
|
||||
options={{
|
||||
options=\{{
|
||||
headerTitle: "Home",
|
||||
drawerLabel: "Home",
|
||||
drawerIcon: ({ size, color }) => (
|
||||
@@ -20,7 +20,7 @@ const DrawerLayout = () => {
|
||||
{{#if (includes examples "todo")}}
|
||||
<Drawer.Screen
|
||||
name="todos"
|
||||
options={{
|
||||
options=\{{
|
||||
headerTitle: "Todos",
|
||||
drawerLabel: "Todos",
|
||||
drawerIcon: ({ size, color }) => (
|
||||
@@ -31,7 +31,7 @@ const DrawerLayout = () => {
|
||||
{{/if}}
|
||||
<Drawer.Screen
|
||||
name="(tabs)"
|
||||
options={{
|
||||
options=\{{
|
||||
headerTitle: "Tabs",
|
||||
drawerLabel: "Tabs",
|
||||
drawerIcon: ({ size, color }) => (
|
||||
|
||||
Reference in New Issue
Block a user