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:
parent
edfc1269e3
commit
3a91683cca
1 changed files with 10 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue