diff --git a/examples/custom-build/nuxt.config.js b/examples/custom-build/nuxt.config.js index 7f63c66e5c..1a69cc77b3 100644 --- a/examples/custom-build/nuxt.config.js +++ b/examples/custom-build/nuxt.config.js @@ -7,8 +7,8 @@ module.exports = { app: 'app.[chunkhash].js' // default: nuxt.bundle.[chunkhash].js }, vendor: ['lodash'], - extend (config, { dev }) { - if (dev) { + extend (config, { isDev }) { + if (isDev) { config.devtool = 'eval-source-map' } const urlLoader = config.module.rules.find((loader) => loader.loader === 'url-loader') diff --git a/examples/i18n/plugins/i18n.js b/examples/i18n/plugins/i18n.js index 81293fb7a7..e4859aadc9 100644 --- a/examples/i18n/plugins/i18n.js +++ b/examples/i18n/plugins/i18n.js @@ -3,7 +3,7 @@ import VueI18n from 'vue-i18n' Vue.use(VueI18n) -export default ({ app, isClient, store }) => { +export default ({ app, store }) => { // Set i18n instance on app // This way we can use it in middleware and pages asyncData/fetch app.i18n = new VueI18n({ diff --git a/examples/spa/pages/about.vue b/examples/spa/pages/about.vue index d13eba5deb..ed137ad491 100644 --- a/examples/spa/pages/about.vue +++ b/examples/spa/pages/about.vue @@ -7,9 +7,9 @@