Skip to content

Commit

Permalink
add highlight block
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Jan 15, 2024
1 parent 16ca2af commit 45c54ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ Note that your consuming script still needs to be of `type="module"` otherwise `

Please note Bundle's primary goal is to get imports inside your Blade template. While the IIFE strategy can be very powerful, it is not the place to put a lot of business code since can be a lot harder to debug.
Bundle is meant as a tool for Blade centric apps, like Livewire, to enable code colocation with page specific JavaScript. Preferably the bulk of custom code should live inline in a script tag or in a Alpine component.
{: .highlight }
> Bundle is meant as a tool for Blade centric apps, like Livewire, to enable code colocation with page specific JavaScript. Preferably the bulk of custom code should live inline in a script tag or in a Alpine component.
## Sourcemaps
Expand Down

0 comments on commit 45c54ca

Please sign in to comment.