DSACMS / metrics

Experimentations in Open Source Repository Metrics
https://dsacms.github.io/metrics/
Other
6 stars 2 forks source link

Re-added Vite & Changed /metrics config #60

Closed natalialuzuriaga closed 9 months ago

natalialuzuriaga commented 9 months ago

Re-added Vite & Changed /metrics config

Problem

USWDS CSS Files and our project CSS files (style.css) were not being applied to the website.

Solution

Initially, I removed the use of the Vite plugin in the previous PR, however while debugging, I realized that it is needed in order to bundle together all CSS files. I removed the postcss.config.js file since at this time, there is no use for any custom postcss configuration (originally taken directly from the /open repo).

No longer using the pathPrefix variable to configure website url with /metrics. Instead configuring it in site.js, should fix broken navigation links.