directus
directus
Easily connect your Nuxt application to your directus server.
Nuxt Directus
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
- 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