Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix -> workaround instructions to install HMLR components - install older version v1.1.0 #98

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/get-started/prototyping/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ order: 1
description: This guide explains how to create prototypes using the GOV.UK Design System and GOV.UK Prototype Kit
---

{% from "govuk/components/inset-text/macro.njk" import govukInsetText %}

The GOV.UK guide explains how to create prototypes using the GOV.UK Design System and GOV.UK Prototype Kit.

## Before you start
Expand All @@ -22,9 +24,16 @@ To make prototypes use the link below to navigate to the GOV.UK setup guide.
Using the latest prototype kit as a base, install the HM Land Registry frontend styles and templates:

```sh
npm install @hmlr/frontend
npm install @hmlr/frontend@v1.1.0
```

You can now import and use the HM Land Registry components in your prototype just as you can with the GOV.UK ones.

Example code can be found in the [components](/components/) section.

{{ govukInsetText({
classes: "app-table--constrained",
html: 'These instructions will install an older version (v1.1.0) of the HM Land Registry components, as a bug exists when using the latest version (v1.3.0) with the latest Gov prototype kit (v13). <a href="/get-in-touch/">Contact us if you need help using the components</a>.'
}) }}