@livefir/fir

0.2.3 • Public • Published

Introduction

The @livefir/fir package is a companion alpine.js plugin for the Go library pkg.go.dev/github.com/livefir/fir. Fir is a Go toolkit to build reactive web interfaces using: Go, html/template and alpinejs.

Installation

The plugin can be included as a script tag before the alpine.js include.

    <head>
        <script
            defer
            src="https://unpkg.com/@livefir/fir@latest/dist/fir.min.js"></script>
        <script
            defer
            src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script>
    </head>

See example.

Package Sidebar

Install

npm i @livefir/fir

Weekly Downloads

65

Version

0.2.3

License

MIT

Unpacked Size

133 kB

Total Files

12

Last publish

Collaborators

  • adnaanx