Capri provides some example projects that help you to quickly bootstrap a new project. The following command will create a new project based on the official react template in a directory called
npm init capri my-capri-site -- -e react
Or using yarn:
yarn create capri my-capri-site -e react
Refer to the UI framework docs to learn how to use Capri with a particular framework.
You can use any Capri template hosted on GitHub using the following syntax:
npm init capri my-capri-site -- -e github-user/repo-name