Giter VIP home page Giter VIP logo

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
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.

<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 rinodrummer avatar

Stargazers

Stefan Zweifel avatar Arno Dupont avatar maxtc avatar Abdallah Mohamed avatar  avatar Mohammad Prince avatar Bardh Ch avatar Cyril Fehintoluwa avatar Markus Hedenborn avatar John Bacon avatar  avatar Nima HeydariNasab avatar Abdelhamid Errahmouni avatar Stefano Mazzega avatar  avatar Daniel Hartmann avatar moneya avatar Andreas Farah avatar Aftandil MMD avatar Aamir Sohail KmAs avatar Maxemilian Grönblom avatar Şahin avatar  avatar Abdur Roquib Pramanik avatar Roelof Kallenkoot avatar Edu Wass avatar John Vo avatar Abdelrahman Omran avatar Thomas Georgel avatar Maurizio Bonani avatar Koussay avatar Arif Budiman Arrosyid avatar  avatar Madalin Tache avatar Roy Teusink avatar Alexandre Severo avatar Dhruva  avatar Youssef Azani avatar Sean Taylor avatar  avatar  avatar

Watchers

 avatar  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.