mirror of
https://github.com/ae-utbm/sith.git
synced 2025-10-19 11:18:29 +00:00
Rename notification plugin import on alpine-index
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
import { alpinePlugin } from "#core:utils/notifications";
|
import { alpinePlugin as notificationPlugin } from "#core:utils/notifications";
|
||||||
import sort from "@alpinejs/sort";
|
import sort from "@alpinejs/sort";
|
||||||
import Alpine from "alpinejs";
|
import Alpine from "alpinejs";
|
||||||
|
|
||||||
Alpine.plugin(sort);
|
Alpine.plugin(sort);
|
||||||
Alpine.magic("notifications", alpinePlugin);
|
Alpine.magic("notifications", notificationPlugin);
|
||||||
window.Alpine = Alpine;
|
window.Alpine = Alpine;
|
||||||
|
|
||||||
window.addEventListener("DOMContentLoaded", () => {
|
window.addEventListener("DOMContentLoaded", () => {
|
||||||
|
Reference in New Issue
Block a user