diff --git a/_scripts/app.js b/_scripts/app.js index 50197d9..760be48 100644 --- a/_scripts/app.js +++ b/_scripts/app.js @@ -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()