Skip to content
This repository was archived by the owner on Jan 2, 2022. It is now read-only.

Commit 72a45d8

Browse files
authored
docs: update installation info
1 parent 6156505 commit 72a45d8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

readme.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
1-
# Netlify Next.js cache
1+
# [Netlify Next.js cache](https://app.netlify.com/plugins/netlify-plugin-cache-nextjs/install)
22

33
Cache the Next.js build folder in Netlify builds.
44

5+
[![add to netlify](https://img.shields.io/badge/add%20to-netlify-00AD9F)](https://app.netlify.com/plugins/netlify-plugin-cache-nextjs/install)
56
[![npm](https://img.shields.io/npm/v/netlify-plugin-cache-nextjs)](https://www.npmjs.com/package/netlify-plugin-cache-nextjs)
67
[![downloads per week](https://img.shields.io/npm/dw/netlify-plugin-cache-nextjs)](https://www.npmjs.com/package/netlify-plugin-cache-nextjs)
78
[![Build Status](https://github.com/pizzafox/netlify-cache-nextjs/workflows/CI/badge.svg)](https://github.com/pizzafox/netlify-cache-nextjs/actions)
89
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)
910

1011
A [Netlify build plugin](https://docs.netlify.com/configure-builds/build-plugins/), and [one of the most downloaded ones](https://www.netlify.com/blog/2020/06/22/top-10-netlify-build-plugins/#4-next-js-cache) at that.
1112

12-
```toml
13-
[[plugins]]
14-
package = "netlify-plugin-cache-nextjs"
15-
```
13+
[![add to netlify](https://img.shields.io/badge/add%20to-netlify-00AD9F)](https://app.netlify.com/plugins/netlify-plugin-cache-nextjs/install)
1614

1715
## Usage
1816

1917
This is a Netlify build plugin, which will run during your Netlify builds. You can learn more about Netlify Build Plugins in the [Netlify docs](https://docs.netlify.com/configure-builds/build-plugins/).
2018

21-
The npm package name is [`netlify-plugin-cache-nextjs`](https://www.npmjs.com/package/netlify-plugin-cache-nextjs).
19+
[![add to netlify](https://img.shields.io/badge/add%20to-netlify-00AD9F)](https://app.netlify.com/plugins/netlify-plugin-cache-nextjs/install)
2220

23-
To install, add the following lines to your `netlify.toml` file:
21+
If you want to manually install the plugin add the following lines to your `netlify.toml` file:
2422

2523
```toml
2624
[[plugins]]

0 commit comments

Comments
 (0)