Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按照官方merge了vux-loader之后,如果用happypack处理vue-loader页面出不来 #69

Open
Imagine-Klaus opened this issue Sep 6, 2018 · 0 comments

Comments

@Imagine-Klaus
Copy link

  • webpack 版本 3.11.0
  • vux 2.9.2

happyPack config in webpack.dev.conf.js

  plugins: [
      new HappyPack({
      id: 'vueLoader',
      loaders: [{
        loader: 'vue-loader',
        options: require('./vue-loader.conf')
      }],
      debug: true
    })
  ]
...
..

module.exports = vuxLoader.merge(webpackConfig, { plugins: ['vux-ui'] });

use happyPack in webpack.base.conf.js

  {
      test: /\.vue$/,
      use: ['happypack/loader?id=vueLoader'],
      options: vueLoaderConfig
   },

不知道是否和使用的vux有关系 但是使用了happyPack之后页面空白且没有报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant