Nuxt3 中文课程《实战全栈开发简书》限时优惠

This module is not yet compatible with Nuxt 3

Head over to v2.nuxt.com

directus
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

yarn add nuxt-directus # yarn
npm i nuxt-directus # npm

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