nuxt.config.js中加上
build: { extend(config, { isDev, isClient }) { if (isDev) { config.devtool = 'eval-source-map' // Something you like } } },
nuxt dev debug模式走起
nuxt dev