Skip to content
This repository was archived by the owner on Apr 15, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion guides/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,13 @@ To prepare your Nuxt.js application for {{ PRODUCT_NAME }}:
// nuxt.config.js

module.exports = {
buildModules: ['{{ PACKAGE_NAME }}/nuxt/module'],
buildModules: [['{{ PACKAGE_NAME }}/nuxt/module', { layer0SourceMaps: true }]],
}
```

Options:
- `layer0SourceMaps: true|false`: when true, the serverless build includes sourcemaps files which makes debugging easier using the Log Streamer available in Layer0 Console. On the other hand it increases the serverless bundle side.

2. Run `{{ CLI_NAME }} init` to configure your project for {{ PRODUCT_NAME }}.

```bash
Expand Down