fix composite error

This commit is contained in:
Aman Varshney
2025-05-28 21:03:33 +05:30
parent 591ecf8a09
commit 46651fb90d
4 changed files with 14 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
"create-better-t-stack": patch
---
add composite in server for references

View File

@@ -18,6 +18,9 @@
"name": "next"
}
],
{#unless (or (eq backend "convex") (eq backend "none"))}}
"composite": true,
{{/unless}}
"paths": {
"@/*": ["./src/*"]
}

View File

@@ -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}}
},

View File

@@ -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 }) => (