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

Commit 067609d

Browse files
authored
docs: update installation instructions (#29)
1 parent 36b67d7 commit 067609d

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

readme.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@ A [Netlify plugin](https://www.netlify.com/build/plugins-beta/) which is [publis
99

1010
## Usage
1111

12-
This is a Netlify plugin, which will run during your Netlify builds.
13-
As of now, Netlify plugins are in closed beta.
14-
You can learn more about them, and apply for the beta [here](https://www.netlify.com/build/plugins-beta/).
12+
This is a Netlify plugin, which will run during your Netlify builds. You can learn more about Netlify Build Plugins (currently in beta) in the [Netlify docs](https://docs.netlify.com/configure-builds/plugins).
1513

1614
The npm package name is [`netlify-plugin-cache-nextjs`](https://www.npmjs.com/package/netlify-plugin-cache-nextjs).
1715

18-
```yaml
19-
plugins:
20-
- type: netlify-plugin-cache-nextjs
16+
To install, add the following lines to your `netlify.toml` file:
17+
18+
```toml
19+
[[plugins]]
20+
package = "netlify-plugin-cache-nextjs"
2121
```
2222

23+
Note: The `[[plugins]]` line is required for each plugin, even if you have other plugins in your `netlify.toml` file already.
24+
2325
## Contributing
2426

2527
### Prequisites

0 commit comments

Comments
 (0)