File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ If you are [manually bundling Livewire and Alpine](https://livewire.laravel.com/
3333``` diff
3434import { Livewire, Alpine } from '../../vendor/livewire/livewire/dist/livewire.esm';
3535import Clipboard from '@ryangjchandler/alpine-clipboard'
36- + import "../../vendor/aerni/livewire-forms/resources/dist/ js/livewire-forms";
36+ + import "../../vendor/aerni/livewire-forms/resources/js/livewire-forms.js ";
3737
3838Alpine.plugin(Clipboard)
3939
@@ -61,12 +61,10 @@ Then, add the `{{ livewire:styles }}` and `{{ livewire:scriptConfig }}` tags to
6161</html >
6262```
6363
64- At this point, you can safely remove the ` livewire-forms.js ` script from your form views, as it is now included in your bundle:
64+ Don't forget to remove the ` @formAssets ` directive from your form views, as the styles and script are now included in your bundle:
6565
6666``` diff
67- - @assets
68- - <script type="module" src="/vendor/livewire-forms/js/livewire-forms.js"></script>
69- - @endassets
67+ - @formAssets
7068```
7169
7270## Commands
You can’t perform that action at this time.
0 commit comments