Effortless page specific JavaScript modules in Laravel/Livewire apps.
Explore the docs on GitHub Pages ยป
Note
Bundle is in open beta! ๐
We need your help get this package production ready ๐ Check out the discussion board or report a bug. We appreciate your feedback!
composer require leuverink/bundlephp artisan bundle:installThis is all you need to start using Bundle!
You may import any node_module or local module from your resources/js directory directly on the page.
<x-import module="apexcharts" as="ApexCharts" />
<script type="module">
const ApexCharts = await _import("ApexCharts");
// Create something amazing!
</script>Clone this repo locally & run composer install
Run composer serve to start a local environment to tinker in.
You can run the test suites with the following composer scripts:
composer testto run all tests except browser testscomposer test-browserto run all browser testscomposer test-allto run all tests