Project Setup and Development Environment
Step-by-step instructions for setting up your local environment, installing dependencies, and configuring tools.
Project Setup
This project uses a monorepo structure with Turborepo and PNPM. Follow these steps to set up your environment:
Tip
fnm or nvm to manage Node versions.Steps
-
Check Node Version
Ensure your Node version matches the one in.nvmrc:node -v -
Install PNPM via Corepack
Enable Corepack to manage PNPM:corepack enableCheck that your PNPM version matches the required version in
package.json:pnpm -v -
Install Dependencies
pnpm install -
Build All Packages
pnpm run build -
Watch for Changes (Optional)
To enable live reloading:pnpm run watch -
Run the Starter Project
In a separate terminal, navigate to the starter project and start the dev server:cd examples/basic-iframe pnpm run dev
You should now be able to view the starter project at http://localhost:3000.
For More info follow the instructions in the contributing.md file.