Skip to content

Commit

Permalink
Push the scripts to the scripts stack
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed May 29, 2022
1 parent d964f17 commit a8cb38a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion resources/views/components/docs/search-page.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<input type="search" name="search" id="search-input" placeholder="Search..." autocomplete="off" autofocus>
</div>

@once('scripts')
<script src="https://cdn.jsdelivr.net/npm/hydesearch@0.2.1/dist/HydeSearch.min.js" defer></script>

<script>
Expand All @@ -36,4 +37,5 @@
Search.init();
});
</script>
</script>
@endonce

0 comments on commit a8cb38a

Please sign in to comment.