From 3ec6d0bace5c61da9915c7406cb86345819127a7 Mon Sep 17 00:00:00 2001 From: David Wolfson <145220120+WolfieKnee@users.noreply.github.com> Date: Fri, 17 Nov 2023 13:59:27 +0000 Subject: [PATCH] Update _config.js adding oOI Lume Viz https://open-innovations.github.io/oi-lume-viz/ --- _config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_config.js b/_config.js index bf11d11..05e13c7 100644 --- a/_config.js +++ b/_config.js @@ -1,8 +1,14 @@ import lume from "lume/mod.ts"; - const site = lume(); // Copy the "img" directory to _site/img site.copy("img"); +// use Open Innovations charting viz https://open-innovations.github.io/oi-lume-viz/ +import oiCharts from 'oi-lume-charts/mod.ts'; +site.use(oiCharts({ + assetPath: 'assets/oi', + componentNamespace: 'oi', +})); + export default site;