hbstack / hb

The core module of HB framework, which automatically load and compile module's TypeScript and SCSS.
https://hbstack.dev/
MIT License
16 stars 4 forks source link

feat: add the module-exists function #166

Closed razonyang closed 7 months ago

razonyang commented 7 months ago

To check if a module exists (was imported), take github.com/hbstack/bs-tooltip as an example.

{{ $tooltip := partial "hb/functions/module-exists" "github.com/hbstack/bs-tooltip" }}