rsnext/errors/invalid-page-config.md
2019-08-26 16:00:37 +02:00

519 B

Invalid Page Config

Why This Error Occurred

In one of your pages you did export const config with an invalid value.

Possible Ways to Fix It

The page's config must be an object initialized directly when being exported.

This is not allowed

export const config = 'hello world'

This is allowed

export const config = { amp: true }