相关疑难解决方法(0)

vue-devtools始终与nuxt.js禁用

我正在使用nuxt.js v2.3.0创建一个新项目。当我npm run dev在我的想法控制台中运行时,所有内容都能正确编译,但是当我转到页面时,出现以下错误:Nuxt.js + Vue.js is detected on this page. Devtools inspection is not available because it's in production mode or explicitly disabled by the author.

这是我的nuxt.config.js:

const pkg = require('./package');

module.exports = {
  mode: 'spa',

  dev: true,
  /*
  ** Headers of the page
  */
  head: {
    title: pkg.name,
    meta: [
      { charset: 'utf-8' },
      { name: 'viewport', content: 'width=device-width, initial-scale=1' },
      { hid: 'description', name: 'description', content: pkg.description }
    ],
    link: [
      { rel: 'icon', …
Run Code Online (Sandbox Code Playgroud)

vue.js nuxt.js vue-devtools

3
推荐指数
2
解决办法
2772
查看次数

标签 统计

nuxt.js ×1

vue-devtools ×1

vue.js ×1