Skip to content

How to configure google key if key is sourced from vuex $store? #4

@curtisbelt

Description

@curtisbelt

Hello, thanks for your work on this.

I'm creating a headless WordPress site, and for my use case the client needs to be able to add/modify their Google Map API key via a WordPress plugin - long story short, their google key comes into my Nuxt app via nuxtServerInit, and is saved in $store.state.googleMapsKey.

I am not sure how to bridge the gap between having the key loaded in $store.state.googleMapsKey and nuxt.config.js. If this is outside your intended scope feel free to close! Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions