Installation

Adding Elements to your Nuxt project is straightforward.

  1. Install the npm package:
npm
npm install --save-dev @nuxt-themes/elements
yarn
yarn add --dev @nuxt-themes/elements
npm
pnpm install --save-dev @nuxt-themes/elements
  1. Add it to your nuxt.config.ts:
nuxt.config.ts
export default defineNuxtConfig({
extends: '@nuxt-themes/elements'
})
  1. That's it, you can now use the components in your Markdown pages ✨