Skip to content

Laravel Blade with JavaScript Superpowers! 🚀 Effortless page specific JavaScript modules in Laravel & Livewire apps

Notifications You must be signed in to change notification settings

forked-repo/bundle

 
 

Repository files navigation

Effortless page specific JavaScript modules in Laravel/Livewire apps.

tests browser-tests codestyle coverage


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 bundle any node_module or local script 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 tests
  • composer test-browser to run all browser tests
  • composer test-all to run all tests

About

Laravel Blade with JavaScript Superpowers! 🚀 Effortless page specific JavaScript modules in Laravel & Livewire apps

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 90.5%
  • Blade 8.1%
  • JavaScript 1.4%