/cui-sanity-demo

Demo for cms using sanity

Primary LanguageJavaScript

Example GROQ

Query all route that has children (subnavigation)

*[_type == "route"] {
  title,
  page->{title, description},
  child[]->{title}
}

Result:

  "result": [
    {
      "child": [
        {
          "title": "Alert"
        },
        {
          "title": "Dealer header"
        }
      ],
      "page": {
        "description": "All components",
        "title": "Components"
      },
      "title": "Components"
    },
  ]

Sanity Blogging Content Studio

Congratulations, you have now installed the Sanity Content Studio, an open source real-time content editing environment connected to the Sanity backend.

Now you can do the following things: