-
app/
Express application to preview components; also referred to as preview app.
-
assets/
App-specific assets.
-
views/
Nunjucks template files.
-
examples/
Examples of components usage in various contexts. You can access these examples from the home page of the preview app.
-
layouts/
Generic layout templates used to render preview app pages.
-
partials/
Reusable blocks of template code.
-
-
-
bin/
Binary/executable files (i.e. bash scripts) mainly used in the publishing process.
-
config/
Configuration files for the preview app, sass-lint and Jest.
-
dist/
contains auto-generated filesStandalone builds of govuk-frontend. Provides a way to consume govuk-frontend without using npm.
-
docs/
Documentation files.
-
lib/
Application modules and helpers.
-
package/
contains auto-generated filespackage published on npm. Consume all of govuk-frontend through a single package.
-
src/
Source files. See README.md in the src directory for details.
-
tasks/
Application modules and helpers. See tasks for more information about the tasks.
-
public/
Assets built for the preview app.