leuverink / bundle
Fund package maintenance!
gwleuverink
Requires
- php: ^8.1
- illuminate/contracts: ^10|^11
- illuminate/support: ^10|^11
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.30
- laravel/pint: ^1.13
- livewire/livewire: ^3.4
- nunomaduro/larastan: ^2.8
- orchestra/testbench: ^8
- orchestra/testbench-dusk: ^8
- pestphp/pest: ^2.30
- spatie/laravel-ignition: ^2.3
- squizlabs/php_codesniffer: ^3.7
- symfony/thanks: ^1.2
- tightenco/duster: ^2.4
- tightenco/tlint: ^9.1
This package is auto-updated.
Last update: 2024-04-19 08:47:26 UTC
README
Effortless page specific JavaScript modules in Laravel/Livewire apps.
Explore the docs on GitHub Pages »
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!
Installation
composer require leuverink/bundle
npm install bun --save-dev
This is all you need to start using Bundle!
Basic usage
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>
Contributing
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 test
to run all tests except browser testscomposer test-browser
to run all browser testscomposer test-all
to run all tests