Skip to content

Use client from nuxt.config when loading google adsense #345

@GalacticHypernova

Description

@GalacticHypernova

🆒 Your use case

I decided to open this as a feature request because according to the docs, it is expected behavior and therefore not a bug.

There is already a way to configure the ad client of google adsense directly in nuxt.config, but it doesn't seem to pick it up:
[Vue warn]: Missing required prop: "dataAdClient"

🆕 The solution you'd like

It might be a good idea to read the client from the registry configuration, if it is already configurable. Otherwise, it may be worth removing the property from the nuxt.config configuration as it's quite misleading and largely unnecessary.

🔍 Alternatives you've considered

No response

ℹ️ Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions