utubun/orange

Clean next branch

Closed this issue · 1 comments

Objective

Add clean next.js branch to the repository

Proposed solution

  1. Create new branch next-clean;
  2. Remove all the files;
  3. Create new next.js app;

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