Sources UK bank holidays from GOV.UK
npm install gatsby-source-uk-bank-holidays
or
yarn add gatsby-source-uk-bank-holidays
module.exports = {
plugins: [`gatsby-source-uk-bank-holidays`],
};
Query for data
{
allBankHoliday {
nodes {
date
title
bunting
division
id
notes
}
}
}
- Fork the repo
- Clone your fork
- Install the packages:
yarn install
- Run the demo:
yarn develop
To be able to have both the demo and plugin in the same repo we use yarn workspaces.
- Plugin code is in the
/plugin
folder, - and the demo code is in the
/demo
folder.
Solve an issue or do something else!
To get your changes merged into the project create a Pull Request from your fork.
If you have any questions, feedback or suggestions head on over to discussions.
If you find a bug please open an issue and/or create a pull request to fix it.