Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: @filepondScripts does not work when using NPM / @livewireScriptConfig #23

Open
booni3 opened this issue Oct 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@booni3
Copy link

booni3 commented Oct 9, 2024

What happened?

@filepondScripts does inject the scripts into layout, but is not initialised prior to component.

How to reproduce the bug

...
@livewireScriptConfig
@filepondScripts
</body>
</html>

Package Version

1.2.3

PHP Version

8.3

Laravel Version

11

Which operating systems does with happen with?

macOS

Notes

Fixed by adding to app.js and building with vite:

import './bootstrap';

// Filepond
import '../../vendor/spatie/livewire-filepond/resources/dist/filepond.css'
import '../../vendor/spatie/livewire-filepond/resources/dist/filepond'
...
@booni3 booni3 added the bug Something isn't working label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant