feat(docs): add template preview (#1777)

This commit is contained in:
nils måsén 2023-10-02 16:11:04 +02:00 committed by GitHub
parent 9b28fbc24d
commit 9180e9558e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 944 additions and 20 deletions

7
scripts/build-tplprev.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
cd $(git rev-parse --show-toplevel)
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" ./docs/assets/
GOARCH=wasm GOOS=js go build -o ./docs/assets/tplprev.wasm ./tplprev