weexteam / vue-loader-for-apache-weex

vue-loader-for-apache-weex is a third party plugin, and is not developed nor maintained by Apache Weex.
MIT License
30 stars 27 forks source link

[Feature] support sass/less/stylus/postcss/ loader. #14

Closed erha19 closed 6 years ago

erha19 commented 6 years ago

support sass/less/stylus/postcss/ loader

@Hanks10100 Please review this pr.

erha19 commented 6 years ago

You can use other style-loader like:

{
  test: /\.vue(\?[^?]+)?$/,
  use: [{
    loader: 'weex-loader',
    options: {
      loaders: {
        sass: 'sass-loader',
        scss: 'sass-loader',
        less: 'less-loader',
        stylus: 'stylus-loader'
      }
    }
  }]
}