@phizzard/gatsby-theme-tailwind-blog

2.0.1 • Public • Published

gatsby-theme-tailwind-blog

This is a fairly basic gatsby blog theme, similar in scope to the official gatsby blog theme but more opionated using tailwindcss and emotion for styling.

Installation

1 - Install theme

npm install --save @phizzard/gatsby-theme-tailwind-blog

or

yarn add @phizzard/gatsby-theme-tailwind-blog

2 - Add theme to gatsby-config.js

module.exports = {
  plugins: [
    ...
    {
      resolve: "@phizzard/gatsby-theme-tailwind-blog",
      options: {
        contentPath: "content/posts",
        assetsPath: "content/assets",
        basePath: "/",
      },
    },
    ...
  ],
}

3 - Init tailwind.js file

npx tailwind@1.0.0-alpha.10 init
yarn tailwind@01.0.0-alpha.10 init

/@phizzard/gatsby-theme-tailwind-blog/

    Package Sidebar

    Install

    npm i @phizzard/gatsby-theme-tailwind-blog

    Weekly Downloads

    0

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    24.2 kB

    Total Files

    42

    Last publish

    Collaborators

    • phizzard