Clone the Git repository
Learn how to clone the Saas UI Git repository.
In case you have redeemed your license key and accepted the Github invite, you should now have access to the Saas UI Pro Git repository.
Clone the repository
To clone the repository on your local machine, use the following command:
git clone --single-branch --branch=main git@github.com:saas-js/vite-tanstack-router-starter-kit.git my-projectThis will clone the repository into the my-project folder, without the commit history.
Setup Git
Now that you have cloned the repository, you can setup your Git configuration.
Rename the vite-tanstack-router-starter-kit repository to upstream.
git remote rename origin upstreamTo add your own repository as the origin, use the following command:
git remote add origin git@github.com:your-username/your-repository.gitYou can pull the latest changes from the upstream repository using the following command:
git pull upstream main --allow-unrelated-historiesAs your codebase diverges from vite-tanstack-router-starter-kit you will run into merge conflicts eventually,
so at some point it might be easier to manually copy over any changes that you want to implement.
Install dependencies
This project uses yarn 4 to manage dependencies, you can install all dependencies using the following command:
yarnYarn is shipped with the repository, so you don't need to install it globally. If you run into installation issues, you can try to install the latest version of Yarn using the following command:
yarn set version latestIn case this doesn't work, enable corepack and run yarn again.
corepack enable