Hbuilder创建的项目(uniApp + Vue3)中引入UnoCSS原子css引擎 UnoCS通过简化和优化CSS的编写过程来提高Web开发的效率和可维护性。同时还支持预设变量和规则。这些可参看官网进行配置。Unocss通过其原子化方法、高度的可定制性和强大的集成能力,为开发提供了一个高效、灵活且易于维护的CSS。
vue3+vite项目运行出现警告:Feature flag __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ is not XXX Feature flag __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ is not XXX
vue3创建新项目报错:Cannot find module ‘xxx‘ Cannot find module 'vue'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
webstorm vue3+ts报错:Cannot find module ‘@/views/xxx.vue‘ or its corresponding type declarations webstorm vue3+ts报错:Cannot find module '@/views/xxx.vue' or its corresponding type declarations
yarn : 无法加载文件 D:\node\yarn.ps1,因为在此系统上禁止运行脚本。 然后再次输入get-ExecutionPolicy即可看到RemoteSigned就已完成。然后输入set-ExecutionPolicy -Scope CurrentUser。的执行策略阻止了此次操作,
git 报错:! [rejected] master -> master (non-fast-forward) non-fast-forward:译为‘不能快速前进’,远程仓库更新了,你没有及时同步到本地,提交的时候添加了新的内容,提交的时候,然后检测到远程和本地不一样。为了安全起见,报了这个错误。1. 先把git的东西fetch到本地,需要合并就就合并,然后再push。可以先合并之前的历史,在进行提交。
git push报错:! [remote rejected] master -> master (pre-receive hook declined) git push报错:! [remote rejected] master -> master (pre-receive hook declined)
node报错nvm use 报错 exit status 1:□□□□□乱码 使用nvm use node版本的时候出现了报错:exit status 1:□□□□□。关闭命令窗口,使用管理员方式打开,重新操作就好。