Clean next branch
Closed this issue · 1 comments
utubun commented
Objective
Add clean next.js branch to the repository
Proposed solution
- Create new branch
next-clean
; - Remove all the files;
- Create new next.js app;
utubun commented
For the existing directory (in our case orange
) delete all the files, except hidden files:
rm -r ./*
Move .env
file out of the repository, otherwise it will trigger conflict error.
create a new next.js app in the current directory:
npx create-next-app@latest ./ --use-npm
Run the app:
npm run dev