feat: add dasyui for backpex
This commit is contained in:
parent
5d0e8b5f78
commit
a958b49a7c
7 changed files with 35 additions and 3 deletions
|
|
@ -23,6 +23,9 @@ import {LiveSocket} from "phoenix_live_view"
|
|||
import { Hooks as BackpexHooks } from 'backpex'
|
||||
import topbar from "../vendor/topbar"
|
||||
|
||||
// Set stored theme as soon as possible
|
||||
BackpexHooks.BackpexThemeSelector.setStoredTheme()
|
||||
|
||||
let csrfToken = document.querySelector("meta[name='csrf-token']").getAttribute("content")
|
||||
let liveSocket = new LiveSocket("/live", Socket, {
|
||||
longPollFallbackMs: 2500,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue