.gitignore 761 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Logs
  2. logs
  3. *.log
  4. npm-debug.log*
  5. yarn-debug.log*
  6. yarn-error.log*
  7. pnpm-debug.log*
  8. lerna-debug.log*
  9. node_modules
  10. .DS_Store
  11. dist
  12. *.local
  13. # Editor directories and files
  14. .idea
  15. *.suo
  16. *.ntvs*
  17. *.njsproj
  18. *.sln
  19. *.sw?
  20. .hbuilderx
  21. .stylelintcache
  22. .eslintcache
  23. # lock 文件还是不要了,我主要的版本写死就好了
  24. # pnpm-lock.yaml
  25. # package-lock.json
  26. # TIPS:如果某些文件已经加入了版本管理,现在重新加入 .gitignore 是不生效的,需要执行下面的操作
  27. # `git rm -r --cached .` 然后提交 commit 即可。
  28. # git rm -r --cached file1 file2 ## 针对某些文件
  29. # git rm -r --cached dir1 dir2 ## 针对某些文件夹
  30. # git rm -r --cached . ## 针对所有文件
  31. # 更新 uni-app 官方版本
  32. # npx @dcloudio/uvm@latest