Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Conversation

@tillsanders
Copy link
Contributor

As mentioned in #3, Nuxt.js moves towards top-level and runtime config. These changes support the new configuration options and also adds types.

Nuxt.js moves towards top-level and runtime config.

Signed-off-by: Till Sanders <[email protected]>
Signed-off-by: Till Sanders <[email protected]>
...defaultOptions,
...nuxt.options.fathom,
...moduleOptions,
...(nuxt.options.publicRuntimeConfig && nuxt.options.publicRuntimeConfig.fathom)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Module itself is runtime. We should use runtime-config directly inside plugin. Example: https://github.com/nuxt/http/blob/658b8822e5c24ecf5eb6207a25cf150b1f88bcc5/lib/plugin.js#L190

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants