Изучите Nuxt с коллекцией из 100+ советов!

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