0.1.0 • Published 6 years ago
gatsby-tinacms-netlify-prototype v0.1.0
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=mynewnetlifytokengoeshereInstall the
gatsby-tinacms-netlify-prototypenpm i gatsby-tinacms-netlify-prototypeAdd
gatsby-tinacms-netlify-prototypeto yourgatsby-config.jsmodule.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!
0.1.0
6 years ago