A Vue 3 component library for GOV.UK Frontend and the GOV.UK Design System
GOV.UK Vue (GV) is a Vue 3 component library for GOV.UK Frontend. It allows users to build Vue applications based on the GOV.UK Design System. It aims to provide all of the GOV.UK Frontend components as Vue components with all the options available in the original Nunjucks templates. However, it should be noted that the library is still in early development and is incomplete.
To install the GV, you can follow these steps:
npm install @govuk-frontend/vueimport { Accordion, BackLink, Breadcrumbs } from '@govuk-frontend/vue';
GOV.UK Vue (GV) is a Vue 3 component library for building Vue applications based on the GOV.UK Design System. It aims to provide all the GOV.UK Frontend components as Vue components with the same options as the original Nunjucks templates. However, it’s important to note that the library is still in early development and may not be suitable for important projects. It currently has minimal documentation, but examples of the components can be found in the source file.