Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples(with-sockets): fix cannot read property 'app' of undefined on nuxt build #6586

Merged
merged 1 commit into from Oct 18, 2019
Merged

examples(with-sockets): fix cannot read property 'app' of undefined on nuxt build #6586

merged 1 commit into from Oct 18, 2019

Commits on Oct 17, 2019

  1. Fixes "Cannot read property 'app' of undefined" on nuxt build

    The provided example works flawlessly in dev mode but when "nuxt build" is run, the build will fail with an error "Cannot read property 'app' of undefined" since the renderer is not available yet. By using the 'render:before' hook to assure that the renderer is available, it works as expected. This may not be the best solution but worked for me.
    reskume committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    4288469 View commit details
    Browse the repository at this point in the history