vue-starter-contentful
v1.0.0-beta.8
Published
contentful integration for the vue-starter project
Downloads
19
Readme
vue-starter-contentful
contentful integration for the vue-starter project project
Installation
npm run add
Create Contentful Models
Page
Text
Gallery
Create Content
Test Page
Notfound Page
Testing
- run your app
CONTENTFUL_ACCESS_TOKEN=your-token CONTENTFUL_SPACE_ID=your-space-id npm run dev
- go to http://localhost:3000/test
- you should see the content from contentful
- go to http://localhost:3000/foo
- you should get a 404 error in the network tab and the content from contentful
Next steps
- create more content models and refine the logic in the contentful module e.g. use
<component :is="item.component" v-bind="item.properties" />