Skip to content

Commit

Permalink
Merge pull request #11 from rinodrummer/patch-1
Browse files Browse the repository at this point in the history
Fixed various typos
  • Loading branch information
gwleuverink authored Feb 13, 2024
2 parents 53f2652 + a0e1ef8 commit aaf5b0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/integrations/alpinejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Alpine can be bootstrapped with ease using a [local module](https://laravel-bund

**_Note that if you are trying out Bundle in a project that already uses Alpine there is no need for this. You can start using imports inside your components immediately, with zero config_**

First make sure you have [path rewritig](https://laravel-bundle.dev/local-modules.html) set up. Then install Alpine.
First make sure you have [path rewriting](https://laravel-bundle.dev/local-modules.html) set up. Then install Alpine.

```bash
npm install alpinejs
Expand Down
8 changes: 2 additions & 6 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@ Bundle is under active development. If you feel there are features missing or yo

## CSS loader

Bun doesn't ship with a css loader. They have it on [the roadmap](https://github.com/oven-sh/bun/issues/159){:target="\_blank"} but no release date is known at this time. We plan to support css loading out-of-the-box as soon as Bun does!
Bun doesn't ship with a CSS loader. They have it on [the roadmap](https://github.com/oven-sh/bun/issues/159){:target="\_blank"} but no release date is known at this time. We plan to support CSS loading out-of-the-box as soon as Bun does!

Plugin support is a feature we'd like to experiment with. If that is released before Bun's builtin css loader does, it might be possible to write your own plugin to achieve this.

## Bun plugin support

We'd like to add 3rd party plugin support and, in the spirit of making things even more meta than they already are, also try to support custom plugins right from inside your `resources` directory.

## Initable exports

When importing a local module, the only method to immidiatly invoke some code is by using the [IIFE export](https://laravel-bundle.dev/local-modules.html#iife-exports) method.
When importing a local module, the only method to immediately invoke some code is by using the [IIFE export](https://laravel-bundle.dev/local-modules.html#iife-exports) method.

An alternative API is possible that would make it a bit easier to structure your code.
Consider the following example script in `resources/js/some-module.js`. (needs a jsconfig.json for path remapping)
Expand Down

0 comments on commit aaf5b0b

Please sign in to comment.