Skip to content

Comments

fix: Check if nuxtState.env is defined for SPA#33

Open
wilsonplau wants to merge 1 commit intosamtgarson:masterfrom
wilsonplau:fix/nuxtstate-env-undefined
Open

fix: Check if nuxtState.env is defined for SPA#33
wilsonplau wants to merge 1 commit intosamtgarson:masterfrom
wilsonplau:fix/nuxtstate-env-undefined

Conversation

@wilsonplau
Copy link

This is related to #8.

It seems like with the Nuxt v.2.13+ that includes https://nuxtjs.org/guide/runtime-config, nuxtState is still defined for SPAs with the nuxtState.config defined with no nuxtState.env defined. See below for the error and nuxtState object in SPA mode.

Screen Shot 2020-09-03 at 11 56 15 AM

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant