Somewhat opinionated set of project templates (starters) to help kickstart new projects.
You can install degit
globally if you don't like using npx
.
npm i -g degit
https://github.com/Rich-Harris/degit#wait-isnt-this-just-git-clone---depth-1
-
Make sure to clone one of the starters first:
starter name command preact npx degit github:progressivestudio/starters/packages/preact your_repo_name react npx degit github:progressivestudio/starters/packages/react your_repo_name -
Install dependencies
cd your_repo_name
pnpm i
- Run the project
pnpm dev
- You don't have to use
pnpm
at all.npm
oryarn
will do just about the same.