1.1.2 • Published 5 years ago

i18n-articles-gatsby-theme v1.1.2

Weekly downloads
3
License
MIT
Repository
-
Last release
5 years ago

Gatsby articles i18n

Quick Start

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

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

module.exports = {
  __experimentalThemes: [
    {
      resolve: "gatsby-theme-blog-i18n",
      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.

1.1.2

5 years ago

1.1.1

5 years ago

1.0.1

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago