Implement Nuxt
Related to gitlab-org/gitlab#337789 (closed)
As we want to further grow the metric dictionary, want better styling and an easy way to extend, I am building the Frontend in Nuxt. This will also enable us to build a PWA out of the box which can store the metric dictionary data on the client so we don't need to load 1.5MB every time
How it works
- We generate the JSON data for the metrics in ruby and put it into the static folder of the nuxt application
- We fetch the JSON data when loading the page
Requirements
- Ruby
- Node 16.x
How to run
bundle install
bin/build
cd web
yarn
yarn dev
Screenshots
Edited by Axel García