Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dxw/govuk-components-plugin
A WordPress plugin that adds GOV.UK Frontend components to the block editor
https://github.com/dxw/govuk-components-plugin
govpress wordpress-plugin
Last synced: 10 days ago
JSON representation
A WordPress plugin that adds GOV.UK Frontend components to the block editor
- Host: GitHub
- URL: https://github.com/dxw/govuk-components-plugin
- Owner: dxw
- Created: 2021-01-20T11:07:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-09T22:14:56.000Z (3 months ago)
- Last Synced: 2024-09-10T13:24:30.932Z (3 months ago)
- Topics: govpress, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 217 KB
- Stars: 5
- Watchers: 12
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# GOVUK Components
A WordPress plugin that adds components from the [GOV.UK Design System](https://design-system.service.gov.uk/components/) to the block editor.
This plugin produces the HTML required for the components, but the CSS & JS assets aren't included - you should add those by [implementing the GOV.UK Frontend in your theme](https://frontend.design-system.service.gov.uk/installing-with-npm/#install-with-node-js-package-manager-npm), or use the [dxw GOV.UK theme](https://github.com/dxw/govuk-theme).
Requires [ACF Pro 5.8.0](https://www.advancedcustomfields.com/pro/) or above.
## Development
### Install the dependencies:
```
composer install
```### Run the tests:
```
vendor/bin/kahlan spec
```### Run the linter:
```
vendor/bin/php-cs-fixer fix
```