摘要: 很久没有弄前端VUE了。最近用到的vscode进行前端摸索。 在用NPM的时候,发现有点慢,于是切换到了cnpm。 在使用cnpm进行运行的时候报错了。 “cnpm : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\cnpm.ps1,因为在此系统 阅读全文
posted @ 2023-09-09 21:32 tongzhe2006 阅读(961) 评论(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 阅读(5) 评论(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 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 一、在做完项目之后直接执行npm run build命令,出现空白 1、打包后的dist目录下的文件引用路径不对,会因为找不到文件而报错导致白屏1解决办法:修改一下config下面的index,js中Build模块导出的路径因为index.html里边的内容都是通过script标签引入的,而你的路径 阅读全文
posted @ 2023-09-06 11:33 tongzhe2006 阅读(1113) 评论(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 阅读(779) 评论(0) 推荐(0) 编辑
摘要: spring为开发者提供了一个名为spring-boot-devtools的模块来使Spring Boot应用支持热部署,提高开发者的开发效率,无需手动重启Spring Boot应用。 1 pom.xml文件 注:热部署功能spring-boot-1.3开始有的 注:project 中添加 spri 阅读全文
posted @ 2019-03-01 10:46 tongzhe2006 阅读(149) 评论(0) 推荐(0) 编辑