https://github.com/mu373/contentful-nuxt-sample
Sample Nuxt.js website which uses Contentful as CMS
https://github.com/mu373/contentful-nuxt-sample
contentful jamstack netlify static-site
Last synced: about 2 months ago
JSON representation
Sample Nuxt.js website which uses Contentful as CMS
- Host: GitHub
- URL: https://github.com/mu373/contentful-nuxt-sample
- Owner: mu373
- License: mit
- Created: 2020-11-26T03:07:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-26T06:06:40.000Z (over 5 years ago)
- Last Synced: 2025-05-21T12:51:24.404Z (about 1 year ago)
- Topics: contentful, jamstack, netlify, static-site
- Language: SCSS
- Homepage:
- Size: 120 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# contentful-nuxt-sample
## Environments
- CMS: Contentful
- Hosting: Netlify
- Frontend framework: Nuxt.js
## Building on Netlify
- Set Environment variables on Netlify
- `Site settings` > `Build & deploy` > `Environment variables`
- `CTF_CDA_ACCESS_TOKEN` and `CTF_SPACE_ID` are required to build Contentful contents on Netlify
- `.env` is not included in git repository
- Make build webhook on Netlify
- `Site settings` > `Build & deploy` > `Build hooks`
- Set name to hook such as `contentful-build`
- Add Netlify integration on Contentful
- `Settings` > `Webhooks` > `Add` (Netlify template in sidebar)