2.2.6 • Published 2 years ago

@planning-inspectorate/pins-components v2.2.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

pins-components

A collection of useful components for creating web frontends for the Planning Inspectorate

Installation

npm i pins-components

In app.js or wherever configuring Nunjucks, add this line of code to viewPaths:

path.join(__dirname, '..', 'node_modules', 'pins-components')

Example Output:

const viewPaths = [
    path.join(__dirname, '..', 'node_modules', 'govuk-frontend'),
    path.join(__dirname, '..', 'node_modules', '@ministryofjustice', 'frontend'),
    path.join(__dirname, 'views'),
    path.join(__dirname, '..', 'node_modules', 'pins-components'),
];

const env = nunjucks.configure(viewPaths, nunjucksConfig);
2.2.6

2 years ago

2.2.5

2 years ago

2.2.4

2 years ago

2.2.1

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago