Closed giolekva closed 8 months ago
8080
toggle
/static/main.js
<script src="/static/main.js" ...
pico.min.css
/static
Static file handler example: https://gist.github.com/giolekva/be8d4ee46d65f17d3a61a39ba80cb5af
All Done
8080
https://github.com/giolekva/pcloud/blob/71353b5b7b2516a5dbb2005de5623c2bf89493f6/apps/rpuppy/main.go#L13toggle
javascript function into a separate file:/static/main.js
and include it in the html using<script src="/static/main.js" ...
pico.min.css
from https://github.com/picocss/pico/archive/refs/tags/v1.5.11.zip and handle it from/static
folderStatic file handler example: https://gist.github.com/giolekva/be8d4ee46d65f17d3a61a39ba80cb5af