phoenix-guillotine
v0.3.0
Published
[](https://hex.pm/packages/guillotine) [](https://hexdocs.pm/guillotine/)
Readme
Guillotine
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"}
]
endGuillotine 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
},
});