mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-09 18:53:44 +02:00
webpack: remove jquery-mask-plugin and enable alpine and alpine-mask
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
import htmx from "htmx.org";
|
||||
import _hyperscript from 'hyperscript.org/dist/_hyperscript.min';
|
||||
import Alpine from "alpinejs";
|
||||
import mask from '@alpinejs/mask';
|
||||
window.Alpine = Alpine;
|
||||
|
||||
Alpine.start();
|
||||
Alpine.plugin(mask);
|
||||
_hyperscript.browserInit();
|
||||
|
||||
let modalEle = document.getElementById("modal");
|
||||
|
||||
2
frontend/src/application/jquery.js
vendored
2
frontend/src/application/jquery.js
vendored
@@ -1,3 +1,3 @@
|
||||
const $ = require('jquery');
|
||||
window.jQuery = $;
|
||||
window.$ = $;
|
||||
window.$ = $;
|
||||
|
||||
1
frontend/src/application/jquery_mask.js
vendored
1
frontend/src/application/jquery_mask.js
vendored
@@ -1 +0,0 @@
|
||||
import 'jquery-mask-plugin/dist/jquery.mask.min';
|
||||
Reference in New Issue
Block a user