Skip to content

Commit

Permalink
fix: Import AlpineJS from Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
CalumTowers committed Feb 29, 2024
1 parent d567126 commit 645b437
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
24 changes: 23 additions & 1 deletion package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"vue-template-compiler": "^2.7.16"
},
"dependencies": {
"@alpinejs/collapse": "^3.13.5"
"@alpinejs/collapse": "^3.13.5",
"alpinejs": "^3.13.5"
}
}
2 changes: 1 addition & 1 deletion resources/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $("body").scrollspy({

$(".tooltip_displays").tooltip();

import { Alpine } from "../../../vendor/livewire/livewire/dist/livewire.esm";
import Alpine from 'alpinejs';
import collapse from "@alpinejs/collapse";

Alpine.plugin(collapse);
Expand Down

0 comments on commit 645b437

Please sign in to comment.