Home

Issue: 1603

Multiple module with babel-plugin-component:

[issue link]

#1356

build: {
    babel: {
      plugins: [
        ['component', [{
          libraryName: 'element-ui',
          styleLibraryName: 'theme-default'
        }, {
          libraryName: 'mint-ui',
          style: true
        }]]
      ]
    }
  }

However, it does not seem to support multiple module
babel-plugin-component#multiple-module

build: {
    babel: {
      plugins: [
        ['component', [{
          libraryName: 'element-ui',
          styleLibraryName: 'theme-default'
        }]]
      ]
    }
  }

and

build: {
    babel: {
      plugins: [
        ['component', {
          libraryName: 'element-ui',
          styleLibraryName: 'theme-default'
        }]
      ]
    }
  }

work fine!

This bug report is available on Nuxt.js community (#c1429)