Better devex
Using ES6 modueles and adding a JS LSP to `flake.nix`
This commit is contained in:
parent
32ee2de008
commit
0abf209616
7 changed files with 42 additions and 12 deletions
9
gear/page.mjs
Normal file
9
gear/page.mjs
Normal 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();
|
||||
Loading…
Add table
Add a link
Reference in a new issue