@strv/gatsby-theme-core
v1.0.0
Published
A collection of tools for virtually any Gatsby project
Downloads
60
Readme
STRV Gatsby Theme - core
Installation
yarn add @strv/gatsby-theme-core
Add the theme to gatsby-config.js
.
module.exports = {
plugins: [
{
resolve: '@strv/gatsby-theme-core',
options: {
assetPath: `${__dirname}/assets`,
},
},
],
}
Features
- Allows resolving
src/**
as~/**
(e.g.~/components/MyComponent
) - Resolve static assets as
assets
from specifiedassetPath