mirror of
https://github.com/strapi/strapi.git
synced 2025-11-07 05:38:13 +00:00
Merge pull request #3575 from strapi/improvement/hooks-doc
Fix hook.json file name in documentation
This commit is contained in:
commit
13592c38e9
@ -82,7 +82,7 @@ The framework allows to load hooks from the project directly without having to i
|
|||||||
|
|
||||||
## Configuration and activation
|
## Configuration and activation
|
||||||
|
|
||||||
To activate and configure your hook with custom options, you need to edit your `./config/hooks.json` file in your Strapi app.
|
To activate and configure your hook with custom options, you need to edit your `./config/hook.json` file in your Strapi app.
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
...
|
...
|
||||||
|
|||||||
@ -81,7 +81,7 @@ The framework allows to load hooks from the project directly without having to i
|
|||||||
|
|
||||||
## Configuration and activation
|
## Configuration and activation
|
||||||
|
|
||||||
To activate and configure your hook with custom options, you need to edit your `./config/hooks.json` file in your Strapi app.
|
To activate and configure your hook with custom options, you need to edit your `./config/hook.json` file in your Strapi app.
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
...
|
...
|
||||||
|
|||||||
@ -10,7 +10,7 @@ This built-in hook allows you to use the EJS template engine with custom options
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
To configure your hook with custom options, you need to edit your `./config/hooks.json` file in your Strapi app.
|
To configure your hook with custom options, you need to edit your `./config/hook.json` file in your Strapi app.
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
...
|
...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user