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
8
index.mjs
Normal file
8
index.mjs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// Landing page JS
|
||||
import { loadHTML } from "/global/loadin.mjs";
|
||||
|
||||
function loadDependencies() {
|
||||
loadHTML("hd-box", "/header/header.html");
|
||||
}
|
||||
|
||||
loadDependencies();
|
||||
Loading…
Add table
Add a link
Reference in a new issue