This is a starter project for building a SvelteKit application with Agility CMS.
To start using the Agility CMS & SvelteKit Starter, follow these steps:
- Clone this repository.
- Run
yarn install
to install the dependencies. - Rename the
.env.local.example
file to.env.local
. - Retrieve your
GUID
,API Keys (Preview/Fetch)
, andSecurity Key
from Agility CMS by going to Settings > API Keys.
To start a development server:
yarn dev
This will launch the site in development mode, using your preview API key to pull in the latest content from Agility CMS.
To create a production version of your app:
yarn build
To preview the production build:
yarn preview