Manage content with the Lexical editor.
lando start
Run dev mode or prod mode.
Go to: https://nextlex.lndo.site/
lando dev
lando prod
lando next <command>
Example: lando next build && lando next start
Use the pre-made script:
lando shadcn add <component-name>
This works just like the
shadcn/ui
CLI.
Turborepo offers a simple command to add a new app:
lando turbo gen workspace --name <app-name>
This will create a new empty app in the apps
directory.
If you want, you can copy an existing app with:
lando turbo gen workspace --name <app-name> --copy
Note
Remember to run pnpm install
after copying an app.
Workspaces in pnpm work similar to npm but vary slightly from yarn.
To modify package dependencies in workspaces, you must first change directories into that workspace and then run the pnpm command.
Example:
cd apps/nextlex && pnpm add <package>
This Turborepo includes the following packages/apps:
nextlex
: a Next.js app@repo/ui
: a React component library (🚀 powered by shadcn/ui)@repo/eslint-config
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)@repo/typescript-config
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
Learn more about the power of Turborepo:
Learn more about shadcn/ui: