mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-13 17:00:19 +00:00
Added MQTT Dashboard
This commit is contained in:
1 parent
a619de0508
commit
b0eb7b6dec
14 files changed
+932
-1
No files matched your search
@@ -0,0 +1,15 @@
|
||||
PWD := $(shell pwd)
|
||||
|
||||
all: bundle.js main.css
|
||||
make -C ../../http-server ARGS="-d $(PWD)"
|
||||
|
||||
# Bundle JS libraries (preact, preact-router, ...) into a single file
|
||||
bundle.js:
|
||||
curl -s https://npm.reversehttp.com/preact,preact/hooks,htm/preact,preact-router -o $@
|
||||
|
||||
# Create optimised CSS. Prerequisite: npm -g i tailwindcss tailwindcss-font-inter
|
||||
main.css: index.html $(wildcard *.js)
|
||||
npx tailwindcss -o $@ --minify
|
||||
|
||||
clean:
|
||||
true
|
||||
Reference in new issue
Block a user