Better devex

Using ES6 modueles and adding a JS LSP to `flake.nix`
This commit is contained in:
April Eaton 2025-12-15 18:27:19 +01:00
parent 32ee2de008
commit 0abf209616
7 changed files with 42 additions and 12 deletions

9
gear/page.mjs Normal file
View file

@ -0,0 +1,9 @@
import { attachGearList } from "/gear/gear.mjs";
import { loadHTML } from "/global/loadin.mjs";
export function loadDependencies() {
loadHTML("hd-box", "/header/header.html");
attachGearList("gl-body");
}
loadDependencies();