Skip to content

Commit

Permalink
pkp/pkp-lib#7272 alpine select example
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Nov 28, 2024
1 parent 6c3ab81 commit 4bf3847
Show file tree
Hide file tree
Showing 8 changed files with 137 additions and 48 deletions.
7 changes: 7 additions & 0 deletions plugins/themes/default/DefaultThemePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,13 @@ public function init()
$this->addStyle('swiper', 'js/lib/swiper/swiper-bundle' . $min . '.css');
$this->addScript('swiper-i18n', $this->getSwiperI18n(), ['inline' => true]);


$this->addScript('alpine-ui', 'js/lib/alpine/alpine-ui.min.js');
$this->addScript('alpine-focus', 'js/lib/alpine/alpine-focus.min.js');
$this->addScript('alpine-js', 'js/lib/alpine/alpine-js.min.js');



// Load custom JavaScript for this theme
$this->addScript('default', 'js/main.js');

Expand Down
15 changes: 15 additions & 0 deletions plugins/themes/default/js/lib/alpine/alpine-focus.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4bf3847

Please sign in to comment.