Skip to content

Commit

Permalink
Merge pull request #7 from danielroe/module-installation
Browse files Browse the repository at this point in the history
docs: use new `nuxi module add` command in installation
  • Loading branch information
JaZo authored Apr 4, 2024
2 parents 9df5995 + a6fc512 commit c266b00
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,13 @@ This Nuxt module makes working with [Lucide](https://lucide.dev/) icons a breeze

## Quick Setup

1. Add `nuxt-lucide-icons` dependency to your project
Install the module to your Nuxt application with one command:

```bash
# Using pnpm
pnpm add -D nuxt-lucide-icons

# Using yarn
yarn add --dev nuxt-lucide-icons

# Using npm
npm install --save-dev nuxt-lucide-icons
```

2. Add `nuxt-lucide-icons` to the `modules` section of `nuxt.config.ts`

```ts
export default defineNuxtConfig({
modules: [
'nuxt-lucide-icons'
]
})
npx nuxi module add lucide-icons
```

3. That's it! You can now use [all Lucide icons](https://lucide.dev/icons) in your Nuxt app ✨
That's it! You can now use [all Lucide icons](https://lucide.dev/icons) in your Nuxt app ✨

```vue
<template>
Expand Down

0 comments on commit c266b00

Please sign in to comment.