- Set this to:
backend:
name: git-gateway
branch: main
- This is telling netlify how to access the content and from which branch.
Nuxt Content and Netlify CMS integrate very smoothly. Follow up with this documentation for detailed directions
Fixing npm security vulnerabilities can be daunting but isn't too difficult. These steps should get you through most fixes. This process will work for both npm and yarn setups (just change the commands).
npm audit
To actually render your pages, you will create a slug file that is used to render all the content.
pages/_slug.vue file
This is for adding links to your articles onto a page
This example will pull content from the content module (which tracks the files created by netlify cms), and render a series of links for all the articles.
You add this to the script tag in your vue file to access content from netlify cms
Using YAML, you are able to customize a workflow for content editors using the cms.
While this is a very powerful system, there are some limitations to watch out for.
Keep in mind that this is replacing the use of a database for the purposes of structuring data. So it does need to be very specific by necessity.