Updated demo data (includes favicon and fixes to some portable text fields containing broken references)
Enable studio hints (from #21)
Added sanity-codegen as it's used to generate the web/types/schema.ts defs.
Added @sanity/vision to ease GROQ debugging.
Added favicon to eventInformation schema, making it easy to change.
Fixed a bug in the isSameDay check in schemas/objects/schedule, that caused it to create false negatives thinking it's not the same day when it is in fact the same day.
Yeah since we already have a Vue starter that is more focused on the basics I thought it made sense to use tailwind and TS on Nuxt3 with codegen. Especially since @nuxt/sanity, @nuxt/tailwind' and@nuxt/typescript` all have first class support in the Nuxt community it's great to have something that demonstrates how you can put all those pieces together 😌
Studio changes
sanity-codegen
as it's used to generate theweb/types/schema.ts
defs.@sanity/vision
to ease GROQ debugging.favicon
to eventInformation schema, making it easy to change.isSameDay
check inschemas/objects/schedule
, that caused it to create false negatives thinking it's not the same day when it is in fact the same day.Web/frontend changes
<script>
syntax, to<script setup>
which supports Suspense.<script lang="ts">
and changed the overall codebase to make use of as much TypeScript as possible.nuxt/sanity