CLI
Scaffold a new TRA app pre-wired with the Summit Design System in one command.
Create a new app
Run from the monorepo root. The app is placed under apps/ automatically.
pnpm create-app my-appor
make new-app APP=my-appThen install and start:
pnpm install
pnpm --filter my-app devWhat you get
Manual install
Add to an existing workspace package:
pnpm add @tra/uiThen in your tailwind.config.js:
module.exports = {
presets: [require('@tra/ui/preset')],
content: ['./src/**/*.{ts,tsx}'],
};And in your root CSS:
@import '@tra/ui/styles';