Giter Site home page Giter Site logo

bymattlee / bymattlee-sanity-studio-starter Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 2.0 2.15 MB

A starter headless CMS powered by Sanity Studio and includes basic sections and fields.

JavaScript 97.29% CSS 2.71%
sanity sanity-io sanity-studio cms headless-cms

bymattlee-sanity-studio-starter's Introduction

ByMattLee Sanity Studio Starter Screenshot

ByMattLee Sanity Studio Starter

A starter headless CMS that features Sanity Studio and includes basic sections and fields.


Installation

1. Install Node >=14.17.0: https://nodejs.org/en/
2. Install Yarn
$ npm i -g yarn
3. Install all dependencies
$ yarn

Configuration

1. Update Sanity API configuration

In sanity.json, enter the projectId and dataset to connect to cloud API.

2. Update Dashboard config

In dashboardConfig.json, update GitHub URLs for reference and Netlify configuration for deployment.


Use

Build Files And Start Server
$ yarn start
Build Files
$ yarn build
Deploy Studio
$ yarn deploy

Features

  • Use with your favorite front-end setup. This pairs perfectly with the ByMattLee 11ty Starter or ByMattLee Nuxt Starter
  • Custom dashboard configuration with Netlify deployment
  • Predefined fields and blocks for Pages, Articles, Sections, Menus, Settings (SEO, Favicons, Social, Analytics)
  • Media browser

Customizations

  • Customize favicon by replacing favicon.ico in /static
  • Customize dashboard brand colors in styles/variables.css

Contact

  • Matt Lee - @bymattlee on most platforms
  • Visit my website at bymattlee.com

Twitter Follow

bymattlee-sanity-studio-starter's People

Contributors

bymattlee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bymattlee-sanity-studio-starter's Issues

Invalid hook call

hello sir @bymattlee , im not familiar on react, i implementation your code on my project about youtubeEmbed.js but i got some error like this:

Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app

im try to debug but dont got where is that.
my code is same like your code, maybe you know about this
thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.