This shows the usage of CMS design system components in a TypeScript-enabled Astro project. This project is specifically for demonstrating our library's compatibility with React 18.
In this project, the design system package is installed as an npm dependency. Refer to install using npm for instructions on how to install the design system as a dependency package.
- Install packages at the root of this repository (see root README)
- Start the application:
npm run start
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add , astro check |
npm run astro -- --help |
Get help using the Astro CLI |
Check out the Astro documentation.