vuecli搭建的项目直接在html中引入jquery,为什么会报错$ is not defined?

537 阅读1分钟

vue-cli搭建的项目直接在html中引入jquery,为什么会报错$ is not defined?必须要在webpack中加入plugin属性呢