Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gwleuverink/bundle
Laravel Blade with JavaScript Superpowers! ๐ Effortless page specific JavaScript modules in Laravel & Livewire apps
https://github.com/gwleuverink/bundle
bundler javascript laravel livewire
Last synced: 2 months ago
JSON representation
Laravel Blade with JavaScript Superpowers! ๐ Effortless page specific JavaScript modules in Laravel & Livewire apps
- Host: GitHub
- URL: https://github.com/gwleuverink/bundle
- Owner: gwleuverink
- Created: 2024-01-05T20:06:23.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-03-19T08:35:22.000Z (9 months ago)
- Last Synced: 2024-05-02T03:13:20.688Z (8 months ago)
- Topics: bundler, javascript, laravel, livewire
- Language: PHP
- Homepage:
- Size: 837 KB
- Stars: 41
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- Roadmap: docs/roadmap.md
Awesome Lists containing this project
README
Effortless page specific JavaScript modules in Laravel/Livewire apps.
Explore the docs on **[GitHub Pages ยป](https://laravel-bundle.dev/)**
> [!NOTE]
> **Bundle is in open beta! ๐**
>
> We need your help get this package production ready ๐ Check out the [discussion board](https://github.com/gwleuverink/bundle/discussions) or [report a bug](https://github.com/gwleuverink/bundle/issues/new/choose). We appreciate your feedback!## Installation
```bash
composer require leuverink/bundle
``````bash
php artisan bundle:install
```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.
```html
const ApexCharts = await _import("ApexCharts");
// Create something amazing!
```
### 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 tests
- `composer test-browser` to run all browser tests
- `composer test-all` to run all tests