![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
炸鸡叔老白
贵阳热爱编程的小菜鸟一枚。
展开
-
npm ERR D:\Program Files\nodejs\node_cache\_1ogs\2022-03-26T11_17_01_992Z-debug-0.1og
今天给朋友解决一个vue报错问题npm install的时候老是报错解决办法1,删除node_modules文件夹2,清理缓存 npm cache clean --force3,重新安装 npm i搞定原创 2022-03-26 20:41:44 · 3512 阅读 · 0 评论 -
Vue2cli打包页面空白,Jquery找不到
1、jquery is not defined:解决:webpack.prod.conf.js:new webpack.DefinePlugin({ 'process.env': env, $ : 'jquery', jQuery : 'jquery' }),改为new webpack.ProvidePlugin({ $: "jquery", jQuery: "jquery" }),...原创 2022-02-09 15:36:47 · 501 阅读 · 0 评论 -
vue3打包后 访问不了后端接口问题
解决办法配置nginx反向代理server { listen 8089; server_name xxx.xxx.xxx.xxx; root /root/awzwebdemo/vueweb/dist; index index.html; location ^~/api/ { proxy_pass http://xxx.xxx.xxx.xxx:8080/; }原创 2021-10-19 10:23:11 · 3991 阅读 · 0 评论 -
安装Vue3.0脚手架时缺少文件
ERROR Failed to get response from /vue-cli-version-marker Vue CLI v4.5.13 Failed to check for updates ? Please pick a preset: Default (Vue 3) ([Vue 3] babel, eslint)修改.vuerc文件 windows(联想)目录为 C:\Users\lenovo{ "useTaobaoRegistry": "flase", "packageM原创 2021-09-23 20:33:04 · 781 阅读 · 0 评论 -
npm ERR! A complete log of this run can be found in: npm ERR! F:\Program Files\nodejs\node_cache
npm ERR! code 1npm ERR! path F:\Program Files\nodejs\node_global\node_modules\@vue\cli\node_modules\utf-8-validatenpm ERR! command failednpm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuildnpm ERR! �ڴ˽��������һ������һ����Ŀ����Ҫ���ò���原创 2021-09-23 20:07:13 · 3960 阅读 · 2 评论 -
vue安装axios
npm install --save --save-exact axios vue-axios原创 2021-08-31 18:32:29 · 359 阅读 · 0 评论 -
vue引入bootstrap
vue init webpack vue01 //创建vue脚手架项目cd vue01 //进入项目目录npm install // 安装依赖npm run dev //运行项目npm install bootstrap --save --save-exact//安装bootstrap原创 2021-08-31 18:17:05 · 130 阅读 · 0 评论