37% OFF during Black Friday at Mastering Nuxt.

.gitignore

A .gitignore file specifies intentionally untracked files that git should ignore.

A .gitignore file specifies intentionally untracked files that git should ignore.

Read more in the git documentation.

We recommend having a .gitignore file that has at least the following entries present:

.gitignore
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist

# Node dependencies
node_modules

# Logs
logs
*.log

# Misc
.DS_Store

# Local env files
.env
.env.*
!.env.example