[新手]安装了vue-loader之后,还需要vue-template-compiler吗
在webpack打包的时候,出现了下面的问题
Error: [vue-loader] vue-template-compiler must be installed as a peer dependency, or a compatible compiler implementation must be passed via options.
于是去npmjs.com上看vue-template-compiler,提到:
You will only need it if you are writing build tools with very specific needs. In most cases you should be using vue-loader or vueify instead, both of which use this package internally.
那么我现在安装了vue-loader,为什么webpack打包不通过呢?