- Deploy frontend using cloudflare pages (see this)
- Deploy a Directus instance (self-hosted or directus cloud)
- Change the directus url in
nuxt.config.ts
- Create the collections
Collection name: landing_page
SINGLETON
Fields:
name | type | required |
---|---|---|
title | input | yes |
sub_title | textarea | yes |
Collection name: legal
SINGLETON
Don't forget to select the optional field date_updated
Fields:
name | type | required |
---|---|---|
title | input | yes |
content | WYSISYG | yes |
Collection name: team
Fields:
name | type | required |
---|---|---|
name | input | yes |
avatar | image | no |
role | input | yes |
- Set the permissions
In directus, navigate to Settings > Access Control > Public.
Here we allow users to see all our collections.
You're all done!