Skip to content

Commit

Permalink
Merge pull request #98 from LandRegistry/bug/components-installation-…
Browse files Browse the repository at this point in the history
…content

Bugfix -> workaround instructions to install HMLR components - install older version v1.1.0
  • Loading branch information
AndyPorter committed Nov 27, 2023
2 parents 9b1b485 + eabb0b3 commit c61edfe
Showing 1 changed file with 10 additions and 1 deletion.
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>.'
}) }}


0 comments on commit c61edfe

Please sign in to comment.