mirror of
https://github.com/apophenia-news/apophenia.news.git
synced 2026-08-28 06:45:43 +00:00
15 lines
317 B
JavaScript
15 lines
317 B
JavaScript
import Alpine from "alpinejs";
|
|
import { createIcons, icons } from "lucide";
|
|
import "./styles.css";
|
|
|
|
window.Alpine = Alpine;
|
|
Alpine.start();
|
|
|
|
const bootIcons = () => createIcons({ icons });
|
|
|
|
if (document.readyState === "loading") {
|
|
document.addEventListener("DOMContentLoaded", bootIcons);
|
|
} else {
|
|
bootIcons();
|
|
}
|