diff --git a/app/frontend/src/components/Alpine.astro b/app/frontend/src/components/Alpine.astro new file mode 100644 index 0000000..16977b0 --- /dev/null +++ b/app/frontend/src/components/Alpine.astro @@ -0,0 +1,12 @@ +--- +// source from https://unpkg.com/alpinejs@3.0.7/dist/cdn.min.js +// doing this to avoid including alpine from unpkg, we all know what happened with pollyfill.io +--- + + diff --git a/app/frontend/src/components/ReadmeDashboard.astro b/app/frontend/src/components/ReadmeDashboard.astro index 62422aa..f523faf 100644 --- a/app/frontend/src/components/ReadmeDashboard.astro +++ b/app/frontend/src/components/ReadmeDashboard.astro @@ -9,6 +9,8 @@ import FullCharts from "@components/partials/readme_dashboard/full_charts.astro" import TypesCharts from "@components/partials/readme_dashboard/types_charts.astro"; import BranchesCharts from "@components/partials/readme_dashboard/branches_charts.astro"; import UsersCharts from "@components/partials/readme_dashboard/users_charts.astro"; +import Alpine from "@components/Alpine.astro"; + const baseURL = import.meta.env.PUBLIC_BASE_URL; --- @@ -33,7 +35,7 @@ const baseURL = import.meta.env.PUBLIC_BASE_URL; - +