@agileana/agileana-theme

0.0.3 • Public • Published

Agileana's Gatsby Base Theme

This is a Gatsby theme using WordPress as a backend, it's intended to be used as a base, if you try to run this directly you'll get an error.

Try to keep this theme as generic as possible, so it can be overridden by final themes and also can be re-used easily.

How to use this theme

You'll have to create a new folder with two files (these are the minimum requirements):

  • package.json
{
  "private": true,
  "name": "some-name",
  "version": "0.0.1",
  "license": "MIT",
  "scripts": {
    "build": "gatsby build",
    "clean": "gatsby clean",
    "develop": "gatsby develop"
  },
  "dependencies": {
    "gatsby": "^2.15.16",
    "@agileana/agileana-theme": "*",
    "react": "^16.9.0",
    "react-dom": "^16.9.0"
  },
  "devDependencies": {
    "prettier": "^1.18.2"
  }
}
  • gatsby-config.js
require("dotenv").config({
  path: `.env.${process.env.NODE_ENV}`,
})

module.exports = {
  plugins: [
    {
      resolve: "@agileana/agileana-theme",
      options: {
        // Override all the options set in the gatsby-config.js file of this package
      }
    }
  ]
}

For more information refer to Gatsby Themes API Reference

Readme

Keywords

none

Package Sidebar

Install

npm i @agileana/agileana-theme

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

1.09 MB

Total Files

73

Last publish

Collaborators

  • agileana