Skip to content

Commit

Permalink
Merge branch 'main' into feature/update-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmymbtlr committed May 22, 2024
2 parents b3f8fe1 + 1c7a5c3 commit 9111f06
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions nuxt-module/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Frame 1209](https://github.com/jrmymbtlr/usemods/assets/24998792/e2dda730-da67-448d-b1c8-bad447c5fa5b)
![Frame 1209](https://public.usemods.com/Nuxt@2x.jpg)

# Use Mods (Nuxt Module)
Auto-imported functions and modifiers for zippy Nuxt developers.
Expand All @@ -22,26 +22,32 @@ Auto-imported functions and modifiers for zippy Nuxt developers.
[nuxt-href]: https://nuxt.com

## Quick Setup
```bash
npx nuxi module add usemods-nuxt
```

## Manual Setup

1. Add `usemods-nuxt` dependency to your project

1. Add `usemods` dependency to your project

```bash
# Using pnpm
pnpm add -D mods-module
pnpm add -D usemods-nuxt

# Using yarn
yarn add --dev mods-module
yarn add --dev usemods-nuxt

# Using npm
npm install --save-dev mods-module
npm install --save-dev usemods-nuxt
```

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

```js
export default defineNuxtConfig({
modules: ["usemods"],
modules: ["usemods-nuxt"],
})
```

That's it! You've got every mod in your Nuxt app ✨
That's it! You've got every mod util in your Nuxt app ✨🛵

0 comments on commit 9111f06

Please sign in to comment.