.gitignore for NextJS Project

I started my first nextJS project and i would like know what i have to put in .gitIgnore for push it on git.

Off top of my head


There’ll be a few more, search GitHub for examples (iirc Salesforce I think have a repo of maintained gitignores) and adjust to take into account own your workspace

1 Like

in reality NextJS give the gitignore when we download the npm

Ah great, I did wonder why it hadn’t been automatically generated

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.