nuxt.config.js
/*
     ** You can extend webpack config here
     */
You can extend webpack config here
You can extend webpack config here
extend(config, { isDev, isClient }) {
      if (isClient) {
        config.node = {
          fs: 'empty',
          child_process: 'empty',
          tls: 'empty',
          net: 'empty',
        }
      }
      config.module.rules.push({
        test: /\.md$/,
        use: ['raw-loader'],
      })
    }
extend ( config , { isDev , isClient } ) { if ( isClient ) { config . node = { fs : 'empty' , child_process : 'empty' , tls : 'empty' , net : 'empty' , } } config . module . rules . push ( { test : / \.md$ / , use : [ 'raw-loader' ] , } ) }
You can extend webpack config here
You can extend webpack config here