Getting Started
Installation
Install nuxt-osdd and configure your Nuxt application for OSDD layers.
Install the package
Terminal
npm install nuxt-osdd
If you use pnpm, the equivalent command is:
Terminal
pnpm add nuxt-osdd
Update your nuxt.config.ts
Replace defineNuxtConfig with defineOSDDNuxtConfig and declare the layers your app depends on.
nuxt.config.ts
import { defineOSDDNuxtConfig } from 'nuxt-osdd'
export default defineOSDDNuxtConfig({
osdd: {
technical: [...],
functional: [...]
},
// your config
})
Next step: create your first layer
Once the package is installed and your root nuxt.config.ts is updated, follow the dedicated Creating Layers guide to scaffold a technical/ or functional/ layer.