vue-aplayer 中没有安装 hls.js出现警告

  • waring
./node_modules/vue-aplayer/dist/vue-aplayer.min.js
Module not found: Error: Can't resolve 'hls.js' in 
  • 解决
    在 vue.config.js或webpack.base.conf.js中添加 external,如configureWebpack:{externals: 'hls.js'}

你可能感兴趣的:(vue-aplayer 中没有安装 hls.js出现警告)