Skip to content

secondsky/claude-skills / plugins/nuxt-v5/skills/nuxt-core

nuxt-core

Verified

Nuxt 5 core framework with project setup, routing, SEO, error handling, and Vite 8/Nitro v3 configuration. Use when creating Nuxt 5 apps, setting up routing, or migrating config.

FileKindSize
SKILL.mdskill md12.5 KB
templates/app.vueother309 B
templates/nuxt.config.tsscript1.7 KB

templates/nuxt.config.ts

View on GitHub
export default defineNuxtConfig({
  future: {
    compatibilityVersion: 5
  },

  devtools: { enabled: true },

  modules: [
    '@nuxt/ui',
    '@nuxt/image',
    '@nuxt/fonts',
    '@nuxthub/core'
  ],

  hub: {
    database: true,
    kv: true,
    blob: true,
    cache: true
  },

  runtimeConfig: {
    apiSecret: '',
    databaseUrl: '',
    jwtSecret: '',

    public: {
      apiBase: '/api',
      appName: 'My Nuxt App',
      appUrl: 'http://localhost:3000'
    }
  },

  app: {
    head: {
      title: 'My Nuxt App',
      titleTemplate: '%s | My Nuxt App',
      meta: [
        { charset: 'utf-8' },
        { name: 'viewport', content: 'width=device-width, initial-scale=1' },
        { name: 'description', content: 'My awesome Nuxt application' }
      ],
      link: [
        { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
      ]
    }
  },

  nitro: {
    preset: 'cloudflare_pages',

    experimental: {
      websocket: true
    },

    routeRules: {
      '/': { prerender: true },
      '/about': { prerender: true },
      '/blog/**': { swr: 3600, isr: true },
      '/api/posts': { swr: 600 },
      '/dashboard/**': { ssr: false },
      '/_nuxt/**': { headers: { 'Cache-Control': 'public, max-age=31536000, immutable' } }
    },

    compressPublicAssets: true,
    minify: true
  },

  typescript: {
    strict: true,
    typeCheck: true,
    shim: false
  },

  vite: {
    build: {
      rolldownOptions: {
        output: {
          advancedChunks: {
            groups: [{ name: 'vendor', test: /\/(vue|vue-router)/ }]
          }
        }
      }
    }
  },

  image: {
    cloudflare: {
      baseURL: ''
    }
  },

  fonts: {
    families: [
      { name: 'Inter', provider: 'google' }
    ]
  }
})
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall