Installation
Get started with Base Stack using the CLI tool to create a new project
Prerequisites
Quick Start
Create a new Base Stack application using the CLI tool:
bash
Project Structure
After running the CLI, you'll get a project with:
text
appsContains all application projects in the monorepo.apps/docsThe documentation site for your project.apps/[your-app]A placeholder for your main application(s).packagesHolds shared code and configuration packages.packages/eslint-configCustom shared ESLint configuration for code linting.packages/typescript-configShared TypeScript configuration files.packages/libContains shared libraries used throughout your applications, like API clients.packages/uiA reusable component library for your applications.
Development
Note
If you can't run pnpm install, it might be because you haven't initialized git or git isn't installed on your
machine. Since this project uses lefthook to automatically format code on every commit, make sure to initialize a
git repository before running pnpm install
Navigate to your new project and start development:
bash
Building
To build your project for production:
bash
For more information on how to use the CLI, you can visit the CLI documentation.
