https://medium.com/nuxt/nuxt-2-is-coming-oh-yeah-212c1a9e1a67
In the Nuxt 2.0 "upcoming" post on Medium it is written:
Removed context.isServer and context.isClient (Use context.client and context.server) Removed options.dev in build.extend() (Use options.isDev)
But when I run
extend (config, ctx) {
console.log(ctx)
// ...
}
it returns:
{ isDev: false, isServer: true }
{ isDev: false, isClient: true }
So either statement one or statement two from the post is false
.
.
<!--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/nuxt.js/issues/c6786">#c6786</a>)</em></sub></div>