- NextJS v^10.1.3
- ReactJs v16.8.6
- Typescript v3.8.2
- StyledComponents v5.0.1
- Yarn Package Manager
- Node version 12.x, (Use NVM to manage node versions)
git clone git@github.com:GainorB/nextjs-typescript.git name-of-folder
cd name-of-folder
yarn installyarn devOn every push to github, yarn will automatically run the below pre-push hooks. If these checks pass, your code should be good to be raised as a PR.
yarn lint && yarn tscyarn startRun now in the project directory to link project to Zeit.
Learn More
- ONLY do this the first time the project is being setup with
now. - Run
yarn global add nowornpm i -g nowto installnowglobally. - Run
nowin your project root. - Follow the command line prompts.
- Now will use your project's directory name to search the Big Human Organization on Zeit.
- If it exists,
nowwill automatically link your project's local directory to the project in Zeit. - If it doesn't exist, the
nowcli will prompt you to create and link the project.
- If it exists,
- At the end, you will notice a
.nowdirectory locally. This new directory will automatically be added to your.gitignore.