In this article, I’ll share a .gitignore file that I use for my Vue.js projects.
.DS_Store node_modules/ /dist /public # Log files npm-debug.log* yarn-debug.log* yarn-error.log* # Editor settings .vscode
It’s a good practice to ignore editor-specific config files to avoid conflicts with other developers. I’m using Visual Studio Code (as you can see in the .gitignore file above).
If you’re using Sublime Text, Atom or any other editor you should update your .gitignore file accordingly.
If you find this post useful, please let me know in the comments below and subscribe to my newsletter.
Want to share this with your friends?
Incoming search terms: