如题,src下有src/components和src/components-1.1,我想只编译前者中的vue,忽略编译后者,如何做到?
试了下在vue-loader中exclude:[path.resolve(__dirname,'../src/components-1.1')]
但是运行时编译不通过,提示You may need an appropriate loader to handle this file type.无法处理其中的vue文件

webpack +vue如何只编译src下的部分文件夹中的vue/js/css
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-