Skip to content

Latest commit

 

History

History
66 lines (33 loc) · 1.44 KB

application-architecture.md

File metadata and controls

66 lines (33 loc) · 1.44 KB

Application architecture

  • 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 files

    Standalone 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 files

    package 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.

Auto-generated directories

  • public/

    Assets built for the preview app.