Don't miss Vue.js Amsterdam in March 2025! Save 10% with code NUXT.

directus
nuxt-directus

Easily connect your Nuxt application to your directus server.

nuxt-directus

Nuxt Directus

npm versionnpm downloadsLicenseNuxt

Integrate Directus to your Nuxt application.

Features

  • Nuxt 3 ready
  • Handle authentication
  • RESTful methods
  • TypeScript Support

Setup

npx nuxi@latest module add directus

Basic usage

Add nuxt-directus to your Nuxt config:

// nuxt.config.ts

export default defineNuxtConfig({
  modules: ["nuxt-directus"],
});

Development

  1. Clone this repository
  2. Install dependencies using pnpm install or npm install
  3. Run pnpm dev:prepare or npm run dev:prepare
  4. Start development server using pnpm dev or npm run dev

License

Copyright (c) 2022 Conner Luka Bachmann MIT License