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