| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- # Logs
- logs
- *.log
- npm-debug.log*
- yarn-debug.log*
- yarn-error.log*
- pnpm-debug.log*
- lerna-debug.log*
- node_modules
- .DS_Store
- dist
- *.local
- # Editor directories and files
- .idea
- *.suo
- *.ntvs*
- *.njsproj
- *.sln
- *.sw?
- .hbuilderx
- .stylelintcache
- .eslintcache
- docs/.vitepress/dist
- docs/.vitepress/cache
- src/types
- # 单独把这个文件排除掉,用以解决部分电脑生成的 auto-import.d.ts 的API不完整导致类型提示报错问题
- !src/types/auto-import.d.ts
- src/manifest.json
- src/pages.json
- # 2025-10-15 by 菲鸽: lock 文件还是需要加入版本管理,今天又遇到版本不一致导致无法运行的问题了。
- # pnpm-lock.yaml
- # package-lock.json
- # TIPS:如果某些文件已经加入了版本管理,现在重新加入 .gitignore 是不生效的,需要执行下面的操作
- # `git rm -r --cached .` 然后提交 commit 即可。
- # git rm -r --cached file1 file2 ## 针对某些文件
- # git rm -r --cached dir1 dir2 ## 针对某些文件夹
- # git rm -r --cached . ## 针对所有文件
- # 更新 uni-app 官方版本
- # npx @dcloudio/uvm@latest
|