0.1.6 • Published 6 months ago

@josephanson/nuxt-ai v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@josephanson/nuxt-ai

npm version npm downloads bundle JSDocs License

A Nuxt module for adding AI capabilities to your Nuxt app.

Documentation

Features

  • Generate Nuxt rules from examples for different clients
  • Generate MCP server to help with developer experience
  • Generate MCP server to help with managing documentation
  • Implement auto imported ai helpers to add ai to nuxt applications

Quick Setup

  1. Add @josephanson/nuxt-ai dependency to your project
# Using pnpm
pnpm add -D @josephanson/nuxt-ai

# Using yarn
yarn add --dev @josephanson/nuxt-ai

# Using npm
npm install --save-dev @josephanson/nuxt-ai
  1. Add nuxt-ai to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@josephanson/nuxt-ai'],
})

That's it! You can now use nuxt-ai in your Nuxt app ✨

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

Credits

Big thanks to the following projects that made this possible and inspired this project:

License

MIT License © Joseph Anson