There is a problem with the nuxt extend configuration. Difficult to understand


look again at the nuxt document, which does not understand these three attributes. Is
set to isClient for client-side rendering?

module.exports = {
  build: {
    extend (config, { isClient }) {
      //   
      if (isClient) {
        config.devtool = "eval-source-map"
      }
    }
  }
}
Apr.21,2021
Menu