StudioCMS Config
Available Options
There are two ways to configure the StudioCMS Integration, below are examples of how to configure based on if you choose to use the astro.config.mjs
or the dedicated studiocms.config.mjs
file.
Using the astro.config.mjs
file:
Using the studiocms.config.mjs
file:
This file will be automatically picked up and will overwrite any options passed in your astro.config, if you choose to use this option, Please ensure to move all StudioCMS Config options into this file instead like below:
Example File Structure
- .env
- astro.config.mjs
- studiocms.config.mjs
- studiocms-auth.config.json Auto Generated
- package.json
Directorysrc
- env.d.ts
- …