@arshad/gatsby-theme-core

1.1.6 • Public • Published

@arshad/gatsby-theme-core

Version License PRs welcome!

This core theme includes shared functionality and helpers for @arshad/gatsby-themes.

Installation

Step 1: In the root of your Gatsby site, run the following command:

yarn add @arshad/gatsby-theme-core

Step 2: Enable it in gatsby-config.js

// gatsby-config.js
...
  plugins: [
    `@arshad/gatsby-theme-core`
  ]
...

Theme options

Key Default value Description
imagesPath /content/posts Location of your images

Example usage

// gatsby-config.js
...
  plugins: [
    {
      resolve: `@arshad/gatsby-theme-core`,
      options: {
        imagesPath: `assets/images`,
      }
    }
  ]
...

Support

Create an issue on the main repo @arshad/gatsby-themes.

/@arshad/gatsby-theme-core/

    Package Sidebar

    Install

    npm i @arshad/gatsby-theme-core

    Weekly Downloads

    1

    Version

    1.1.6

    License

    MIT

    Unpacked Size

    8.13 kB

    Total Files

    9

    Last publish

    Collaborators

    • arshad