You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Navigating to a lesson that specifies autoReload will always reload the preview. This is typically only needed if your server does not support HMR.',
176
176
),
177
177
template: z
178
-
.string()
179
-
.optional()
178
+
.union([
179
+
// name of the template
180
+
z.string().optional(),
181
+
182
+
z.strictObject({
183
+
// name of the template
184
+
name: z.string(),
185
+
}),
186
+
])
180
187
.describe(
181
188
'Specifies which folder from the `src/templates/` directory should be used as the basis for the code. See the "Code templates" guide for a detailed explainer.',
0 commit comments