Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-plugin-tinacms

Package Overview
Dependencies
Maintainers
11
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-tinacms

A Gatsby plugin for adding Tina to your website. This plugin wraps your site in a `TinaProvider` and instantiates the CMS.

  • 0.42.0-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
44
increased by15.79%
Maintainers
11
Weekly downloads
 
Created
Source

gatsby-plugin-tinacms

A Gatsby plugin for adding Tina to your website. This plugin wraps your site in a TinaProvider and instantiates the CMS.

Installation

yarn add gatsby-plugin-tinacms

Setup

Include gatsby-plugin-tinacms in the list of gatsby plugins:

gatsby.config.js

module.exports = {
  // ...
  plugins: [
    // ...
    {
      resolve: 'gatsby-plugin-tinacms',
      options: {
        enabled: process.env.NODE_ENV !== 'production',
        sidebar: {
          position: 'displace',
        },
        plugins: [
          //...
        ],
      },
    },
  ],
}

Options

export interface GatsbyPluginTinacmsOptions {
  enabled?: boolean
  sidebar: TinaCMSConfig['sidebar']
  toolbar: TinaCMSConfig['toolbar']
  manualInit?: boolean
}

Checkout the UI documentation for more context on the Sidebar & Toolbar Config options.

Visit the Using Gatsby with a Git Backend guide for step-by-step instructions on using this package in concert with other Tina+Gatsby plugins.

Keywords

FAQs

Package last updated on 22 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc