vue中导入webpack-jquery-ui依赖报错

直接上解决方案,参考https://www.npmjs.com/package/webpack-jquery-ui

npm install webpack-jquery-ui

报错信息

These dependencies were not found:

* webpack-jquery-ui in ./common/xxxx.js
* webpack-jquery-ui/css in ./common/xxxx.js

To install them, you can run: npm install --save webpack-jquery-ui webpack-jquery-ui/css
 ERROR  Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! xxxx@0.1.0 build: `vue-cli-service build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the xxxx@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

vue中导入webpack-jquery-ui依赖报错

上一篇:jQuery的动画操作


下一篇:从零开始搭建实战级Nodejs服务项目 —— 2. 洋葱模型