gatsby-theme-blorg

3.0.0 • Public • Published

The smallest possible Gatsby theme

Quick Start

mkdir my-site
cd my-site
yarn init
# install gatsby-theme-minimal and it's dependencies
yarn add gatsby react react-dom gatsby-theme-minimal

Then add the theme to your gatsby-config.js. We'll use the long form here for education purposes.

module.exports = {
  plugins: [
    {
      resolve: 'gatsby-theme-minimal',
      options: {},
    },
  ],
}

That's it, you can now run your gatsby site using

yarn gatsby develop

Note that this site doesn't do anything, so you're see a missing resources error. Create a simple page in src/pages/index.js to see a page on the root url.

import React from 'react'

export default () => <div>My Site!</div>

Doing more with themes

You can use this as a place to start when developing themes. I generally suggest using yarn workspaces like the gatsby-theme-examples repo does, but using yarn link or npm link is a viable alternative if you're not familiar with workspaces.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.03latest
2.0.0-next.41next

Version History

VersionDownloads (Last 7 Days)Published
3.0.03
2.4.81
2.4.61
2.4.51
2.4.41
2.4.21
2.3.161
2.3.151
2.3.141
2.3.131
2.3.121
2.3.111
2.3.101
2.3.91
2.3.81
2.3.71
2.3.61
2.3.51
2.3.41
2.3.31
2.3.21
2.3.11
2.3.01
2.2.91
2.2.81
2.2.71
2.2.61
2.2.51
2.2.41
2.2.31
2.2.21
2.2.11
2.2.01
2.1.51
2.1.41
2.1.31
2.1.21
2.1.11
2.1.01
2.0.21
2.0.11
2.0.01
2.0.0-next.41
2.0.0-next.31
2.0.0-next.21
2.0.0-next.11
2.0.0-next.01
2.0.0-beta.582
1.8.161
1.8.151
1.8.141
1.8.131
1.8.121
1.8.111
1.8.101
1.8.91
1.8.81
1.8.71
1.8.61
1.8.51

Package Sidebar

Install

npm i gatsby-theme-blorg

Weekly Downloads

63

Version

3.0.0

License

MIT

Unpacked Size

30 kB

Total Files

31

Last publish

Collaborators

  • xiaoxinghu