This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

gatsby-plugin-tinacms

0.43.3 • Public • Published

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.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i gatsby-plugin-tinacms

    Weekly Downloads

    968

    Version

    0.43.3

    License

    Apache-2.0

    Unpacked Size

    35.1 kB

    Total Files

    7

    Last publish

    Collaborators

    • warwick_tinacms
    • kldavis4
    • scottgallant
    • jeffsee55
    • jpatters
    • jamespohalloran
    • dwalkr