09 2023 档案

摘要:很久没有弄前端VUE了。最近用到的vscode进行前端摸索。 在用NPM的时候,发现有点慢,于是切换到了cnpm。 在使用cnpm进行运行的时候报错了。 “cnpm : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\cnpm.ps1,因为在此系统 阅读全文
posted @ 2023-09-09 21:32 tongzhe2006 阅读(1166) 评论(0) 推荐(0) 编辑
摘要:使用 npm 命令卸载全局 Vue CLI 脚手架: npm uninstall -g @vue/cli npm install -g yarn npm install -g yarn cnpm install -g cnpm --registry=https://registry.npm.taob 阅读全文
posted @ 2023-09-09 21:32 tongzhe2006 阅读(6) 评论(0) 推荐(0) 编辑
摘要:export 'Vue' (imported as 'Vue') was not found in 'vue' (possible exports: $computed, $fromRefs, $raw, $ref, BaseTransition, Comment, EffectScope, Fra 阅读全文
posted @ 2023-09-09 21:27 tongzhe2006 阅读(260) 评论(0) 推荐(0) 编辑
摘要:一、在做完项目之后直接执行npm run build命令,出现空白 1、打包后的dist目录下的文件引用路径不对,会因为找不到文件而报错导致白屏1解决办法:修改一下config下面的index,js中Build模块导出的路径因为index.html里边的内容都是通过script标签引入的,而你的路径 阅读全文
posted @ 2023-09-06 11:33 tongzhe2006 阅读(2383) 评论(0) 推荐(0) 编辑
摘要:* 正在执行任务: npm run build > selection-tool@1.0.0 build> node build/build.js - building for production...(node:8992) Warning: Accessing non-existent prop 阅读全文
posted @ 2023-09-06 11:29 tongzhe2006 阅读(1477) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示