From 63c14f9544d686c07410dfa2ca9f71351f584912 Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Tue, 29 Oct 2024 21:30:49 -0300 Subject: [PATCH] feat: properly install chart.js as npm package and webpack bundle --- app/templates/includes/scripts.html | 2 +- frontend/package-lock.json | 17 +++++++++++++++++ frontend/package.json | 1 + frontend/src/application/charts.js | 2 ++ 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 frontend/src/application/charts.js diff --git a/app/templates/includes/scripts.html b/app/templates/includes/scripts.html index 90b6f69..d9f65ba 100644 --- a/app/templates/includes/scripts.html +++ b/app/templates/includes/scripts.html @@ -12,7 +12,7 @@ {% include 'includes/scripts/hyperscript/swal.html' %} {% javascript_pack 'htmx' attrs="defer" %} - +{% javascript_pack 'charts' %}