Nuxt Directus
Integrate Directus to your Nuxt application.
Features
- Nuxt 3 ready
- Handle authentication
- RESTful methods
- TypeScript Support
Setup
yarn add nuxt-directus # yarnnpm i nuxt-directus # npm
Basic usage
Add nuxt-directus
to your Nuxt config:
// nuxt.config.tsexport default defineNuxtConfig({ modules: ["nuxt-directus"],});
Development
- Clone this repository
- Install dependencies using
pnpm install
ornpm install
- Run
pnpm dev:prepare
ornpm run dev:prepare
- Start development server using
pnpm dev
ornpm run dev
License
Copyright (c) 2022 Conner Luka Bachmann MIT License