Write better
Vue and Nuxt code.
A highly curated collection of practical tips, advanced patterns, and performance tweaks for Vue & Nuxt.
useTip.ts
const { tip } = useAsyncData(
'awesome-trick',
() => queryContent().findOne()
)
'awesome-trick',
() => queryContent().findOne()
)
Popular Topics
vue
nuxt
vite
Motivation behind the project
For some time, I have been sharing Vue and Nuxt-related tips on my Twitter profile. I have received great feedback and thought I should organize all the tips, making them searchable and discoverable for people without an Twitter account. I aim to avoid super obvious and well-known tips. If you find some of them obvious, it may be because I discovered they were not obvious for some on Twitter. Additionally, I wanted a platform to share shorter-form content for topics that do not warrant a full article.