This is the documentation for GOV.UK Vue. It's built with Nuxt.
Components in GOV.UK Vue are parsed with vue-docgen to extract props and slots.
Component documentation is in content/2.components
. Vue component examples are converted to SFC .vue
files by
server/plugins/content.ts
. This allows us to show a rendered version of the example, as well as the code.
Documentation is generated by running npm run generate
. This generates static files.
Any push to the main
branch triggers a build and deploy to govukvue.org.