this is the template i use for when i want to use nextjs for a project
i always catch myself manually doing these things so might as well make it easier for myself
-
clone this repo
-
install dependcies:
yarn
-
run:
yarn dev
- if you wanna change your remote URL:
git remote set-url origin new.git.url/here
the base of this was created with by running yarn create next-app --typescript
(as of september 2022) (source)
then i added my own things like my own styles, libraries (e.g. styled-components
, prettier
), and some more