0.1.6 • Published 6 months ago
@josephanson/nuxt-ai v0.1.6
@josephanson/nuxt-ai
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
- 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
- Add
nuxt-ai
to themodules
section ofnuxt.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