Skip to content

Commit

Permalink
Move usage into example
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodyellets authored Oct 7, 2019
1 parent 86134c6 commit fc58c37
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ methods for managing view engines that can be used to render templated responses
Most interaction with **vision** is done via the `h` [response toolkit](https://hapi.dev/api#response-toolkit)
and [server](https://hapi.dev/api#server) interfaces.

## Usage
## Example

```js
const Hapi = require('@hapi/hapi');
Expand All @@ -30,8 +30,6 @@ const provision = async () => {
provision();
```

## Examples

The examples in the `examples` folder can be run with `node`.

```
Expand Down

0 comments on commit fc58c37

Please sign in to comment.