Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: use new nuxi module add command in installation #195

Merged
merged 7 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
## Setup

```sh
yarn add @nuxtjs/algolia # yarn
npm i @nuxtjs/algolia # npm
npx nuxi@latest module add algolia
npx nuxi@latest module add algolia
danielroe marked this conversation as resolved.
Show resolved Hide resolved
```

## Basic usage
Expand Down
12 changes: 3 additions & 9 deletions docs/content/1.getting-started/1.quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,9 @@ description: ''
## Setup

1. **Install Algolia module**

::code-group
```bash [Yarn]
yarn add @nuxtjs/algolia
```
```bash [NPM]
npm install @nuxtjs/algolia --save
```
::
```bash
npx nuxi@latest module add algolia
```

2. **Enable the module in your Nuxt configuration**

Expand Down
2 changes: 1 addition & 1 deletion docs/content/1.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cta:
secondary:
- Star on GitHub →
- https://github.com/nuxt-modules/algolia
snippet: yarn add @nuxtjs/algolia
snippet: npx nuxi@latest module add algolia
---

#title
Expand Down
19 changes: 3 additions & 16 deletions docs/content/2.advanced/3.docsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,9 @@ Websites like [nuxtjs.org](https://nuxtjs.org), [vuejs.org](https://vuejs.org) u
## Installation

As DocSearch is an additional feature for @nuxt-modules/algolia, it needs two additional dependencies:

::code-group

```bash [Yarn]
yarn add @docsearch/js @docsearch/css
```

```bash [NPM]
npm install @docsearch/js @docsearch/css
```

```bash [PNPM]
pnpm add @docsearch/js @docsearch/css
```

::
```bash
npx nuxi@latest module add algolia
```
danielroe marked this conversation as resolved.
Show resolved Hide resolved

## Configuration

Expand Down
Loading