Skip to content

Commit

Permalink
chore: add screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinux authored and himanshiLt committed Jun 20, 2022
1 parent 7ddfece commit a78cb8f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ consola.info('Reporter: Some info')
consola.error(new Error('Foo'))
```

NOTE: Alternatively, you can import consola from source. But don't forget to whitelist it for transpilation:
Will display in the terminal:

![Screenshot 2020-01-28 at 14 15 15](https://user-images.githubusercontent.com/904724/73267133-af6b2f00-41d8-11ea-9f16-4a8243d19c43.png)

**NOTE:** Alternatively, you can import consola from source. But don't forget to whitelist it for transpilation:

```js
import consola from 'consola/src/node'
Expand Down

0 comments on commit a78cb8f

Please sign in to comment.