gatsby-tinacms-netlify-prototype
v0.1.0
Published
A TinaCMS + Gatsby Plugin that adds a Netlify screen to the sidebar.
Downloads
3
Readme
gatsby-tinacms-netlify-prototype
A TinaCMS + Gatsby Plugin that adds a Netlify screen to the sidebar.
This project is just a prototype.
Configuration
Create a Netlify personal access token
Go to Netlify to create the token.
Add the token to your environment
.bashrc
export NETLIFY_TOKEN=mynewnetlifytokengoeshere
Install the
gatsby-tinacms-netlify-prototype
npm i gatsby-tinacms-netlify-prototype
Add
gatsby-tinacms-netlify-prototype
to yourgatsby-config.js
module.exports = { // ... plugins: [ { resolve: "gatsby-plugin-tinacms", options: { plugins: [ { resolve: "gatsby-tinacms-screen-prototype", options: { // Name of your Netlify site. (See the URL) site: "my-site-name", token: process.env.NETLIFY_TOKEN, }, }, ], }, }, // ... ] }
Start Gatsby and open the global menu
Done!