https://github.com/netlify/demo-restaurant-nuxt-contentful
https://github.com/netlify/demo-restaurant-nuxt-contentful
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/netlify/demo-restaurant-nuxt-contentful
- Owner: netlify
- Created: 2021-09-08T09:39:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-28T12:23:01.000Z (about 2 years ago)
- Last Synced: 2025-02-25T13:15:43.680Z (4 months ago)
- Language: Vue
- Homepage: https://demo-restaurant-contentful-nuxt.netlify.app/
- Size: 1.08 MB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# demo-restaurant-nuxt-contentful
An example which uses content managed in Contentful to generate an archetypal restaurant site using Nuxt.
👉 https://demo-restaurant-contentful-nuxt.netlify.app/
## Usage for Development and Deployment
### add the Contentful creds to your project as environment variable
You can use the Netlify CLI for this
```
# Create or link your project with Netlify
netlify create
# or
netlify link# Add the Contentful Space ID
netlify env:set CONTENTFUL_SPACE_ID XXX# Add the Contentful Content Delivery API access token
netlify env:set CONTENTFUL_CONTENT_API_TOKEN XXX# Run Netlify Build to prime your build with the data
# This will use your centrally managed env vars
netlify build# You now have data to build against
netlify dev
```