Error loading the CMS configuration - Vuepress

Hi,

I’ve created a Vuepress Blog site and I’ve read and implemented the Netlify CMS inside …/public/admin. There are two files: index.html and config.yml with these parameters:

backend:
name: github
branch: master
repo: githubusername/repo
publish_mode: editorial_workflow
media_folder: “.vuepress/public/assets/img”
public_folder: “img”
collections:

  • name: “blog”
    label: “Blog”
    folder: “blog/_posts”

I’m not sure what’s happen because in the official documentation only talks about this file in this path.

Please Could you help me?

Thanks!

Did you maybe nest everything under the backend property? Try this:

backend:
  name: github
  branch: master
  repo: githubusername/repo
publish_mode: editorial_workflow
media_folder: ".vuepress/public/assets/img"
public_folder: "img"
collections:
  - name: "blog"
    label: "Blog"
    folder: "blog/_posts"