0.3.0 • Published 1 year ago

phoenix-guillotine v0.3.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Guillotine

Hex.pm Hexdocs.pm

Fully accessible unstyled Phoenix components.

Table of Contents

Installation

First, add guillotine to the list of dependencies in your mix.exs:

def deps do
  [
    {:guillotine, "~> 0.1.0"}
  ]
end

Guillotine relies heavily on Phoenix hooks that need to be added to your JavaScript bundle. To do that, head to your app.js and add the hooks:

import { Hooks } from "guillotine";

let liveSocket = new LiveSocket("/live", Socket, {
  hooks: {
    ...Hooks
  },
});
0.3.0

1 year ago

0.2.0

1 year ago