Coder Social home page Coder Social logo

rinodrummer / bundle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gwleuverink/bundle

0.0 0.0 0.0 810 KB

Laravel Blade with JavaScript Superpowers! ๐Ÿš€ Effortless page specific JavaScript modules in Laravel & Livewire apps

JavaScript 1.26% PHP 92.25% Blade 6.49%

bundle's Introduction

Effortless page specific JavaScript modules in Laravel/Livewire apps.

tests browser-tests codestyle Bundle Sandbox


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 tests
  • composer test-browser to run all browser tests
  • composer test-all to run all tests

bundle's People

Contributors

gwleuverink avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.