38 lines
700 B
JavaScript
38 lines
700 B
JavaScript
import './bootstrap';
|
|
import 'hammerjs';
|
|
import {
|
|
Collapse,
|
|
Carousel,
|
|
Clipboard,
|
|
Modal,
|
|
Lightbox,
|
|
Tooltip,
|
|
Tab,
|
|
Ripple,
|
|
initTE,
|
|
} from "tw-elements";
|
|
|
|
// Captcha
|
|
import 'altcha';
|
|
import "altcha/themes/cupcake.css";
|
|
|
|
// import Alpine from 'alpinejs';
|
|
|
|
// window.Alpine = Alpine;
|
|
|
|
// Alpine.start();
|
|
|
|
initTE({ Collapse, Carousel, Clipboard, Modal, Tab, Lightbox, Tooltip, Ripple });
|
|
|
|
/**
|
|
* Passkey Support
|
|
*/
|
|
import {
|
|
browserSupportsWebAuthn,
|
|
startAuthentication,
|
|
startRegistration,
|
|
} from '@simplewebauthn/browser'
|
|
|
|
window.browserSupportsWebAuthn = browserSupportsWebAuthn;
|
|
window.startAuthentication = startAuthentication;
|
|
window.startRegistration = startRegistration; |