> Nuxt 3 Framework
Full-stack Vue.js with Nuxt 3. SSR, SSG, file-based routing, server API routes, and auto-imports.
fetch
$
curl "https://skillshub.wtf/skillshub-team/catalog-batch5/nuxt3-framework?format=md"SKILL.md•Nuxt 3 Framework
Nuxt 3
Setup: npx nuxi@latest init my-app
File-Based Routing
pages/index.vue → / pages/blog/[slug].vue → /blog/:slug
Data Fetching
<script setup>
const { data } = await useFetch('/api/posts');
const { data: user } = await useAsyncData('user', () => $fetch('/api/me'));
</script>
Server Routes
// server/api/posts.get.ts
export default defineEventHandler(async () => {
return await db.query.posts.findMany();
});
Config
export default defineNuxtConfig({
modules: ['@pinia/nuxt', '@nuxtjs/tailwindcss'],
routeRules: { '/': { prerender: true }, '/api/**': { cors: true } },
});
> related_skills --same-repo
> Nix Dev Shells with direnv
Auto-activate reproducible dev environments with Nix flakes and direnv.
> Dagger with GitHub Actions
Run Dagger CI/CD pipelines in GitHub Actions for portable, testable builds.
> Bun + Hono API
Build fast APIs with Bun runtime and Hono framework.
> Deno Fresh Framework
Build full-stack web apps with Fresh on Deno. Islands, routes, and zero runtime overhead.