1
0
Fork 0
mirror of https://github.com/eosswedenorg/apt synced 2026-06-17 04:40:03 +02:00

_scripts/app.js: configure and start alpine

This commit is contained in:
Henrik Hautakoski 2022-01-25 12:45:27 +01:00
parent edfc1269e3
commit 3a91683cca
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

View file

@ -1,4 +1,7 @@
import Alpine from 'alpinejs'
import alpine_search from './js/alpine_search'
anchors.add();
@ -62,3 +65,10 @@ $(document).ready(function() {
}, 1000, tooltip);
});
});
// -------------------
// Alpine
// -------------------
Alpine.data('searchComponent', alpine_search)
Alpine.start()