A starting point for developers looking to build a website with Astro, using Bookshop components in CloudCannon.
Create your own copy, and start creating your own components to use in the CloudCannon CMS. Build components using .jsx
or .astro
files.
To try to cut down on setup time this starter template includes some commonly used features in CloudCannon.
This template is aimed at helping developers build sites quickly, rather than providing editors with a fully built editable site. If you are an editor looking for an already built template, have a look at CloudCannon's templates page.
See a demo version of this site.
-
To start using this template, go to the GitHub repository, and click
Use this template
to make your own copy. -
Follow this guide to add your new GitHub repository to CloudCannon.
git clone
your repository- Run
npm install
- Run
npm start
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm start |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run astro ... |
Run CLI commands like astro add , astro check |
npm run astro -- --help |
Get help using the Astro CLI |