Steps:
- Create a project with Vite.
With PNPM:
pnpm create react-ts-vite-template --template react-ts
With NPM:
npm create react-ts-vite-template --template react-ts
- Change directory to your project, initialize git with:
git init
- Install packages using:
pnpm install
#or
npm install
- Run the application by using:
pnpm start dev
#or
npm start dev
Once you clean up the initial setup, commit and push to a Repository.
Go to the Repository in Github -> Settings -> Check the box for Template Repository
You can use this template to generate new Repositories with the same configs and folder struture.
Top comments (0)