Static GitHub Issues

[3226] nuxt-typescript example has `vue is not defined` error

prev: custom class instance returned by asyncdata
next: ReferenceError: navigator is not defined when running npm run generate

@alidcastano:

Version

1.4.0

Reproduction link

https://github.com/nuxt/nuxt.js/tree/dev/examples/typescript

Steps to reproduce

run fresh example

What is expected ?

no errors

What is actually happening?

Vue is not defined error likely due to a ssr issue, which might cause problems in production

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/consola/issues/c7">#c7</a>)</em></sub></div>

Moved from https://github.com/nuxt/consola/issues/12