F
Filamentβ€’14mo ago
lazydog

Plugin Contribution

Hi, I'm new and haven't had the chance to make any contributions to a plugin yet, but I'm eager to get started. Could you please guide me on the process for making contributions? Is there a reference or a guide that I can refer to for more information?
Solution:
here you go https://filamentphp.com/docs/3.x/support/plugins/getting-started also dan has a laracast series on how to create plugins πŸ™‚...
Jump to solution
11 Replies
lazydog
lazydogOPβ€’14mo ago
I already know git by the way πŸ™‚ I just want to know what are the config to be updated
Solution
Lara Zeus
Lara Zeusβ€’14mo ago
here you go https://filamentphp.com/docs/3.x/support/plugins/getting-started also dan has a laracast series on how to create plugins πŸ™‚
lazydog
lazydogOPβ€’14mo ago
Ohh did not find this link. Thanks @Lara Zeus
lazydog
lazydogOPβ€’14mo ago
I have managed to configure my repository, and I'm able to make updates to all PHP files. However, I would like to understand the cause behind why my modifications to JavaScript files do not seem to take effect. This is an existing repository, I just cloned it.
Lara Zeus
Lara Zeusβ€’14mo ago
you have to run npm run dev and then republish the asset in your app using php artisan filament:assets
lazydog
lazydogOPβ€’14mo ago
It's done, I've noticed that js files were placed in public/* directory. Unfortunately, I can't see my changes or did not take effect
Lara Zeus
Lara Zeusβ€’14mo ago
when you run php artisan filament:assets it will be updated from the package to public dir
lazydog
lazydogOPβ€’14mo ago
Seems that there's something I missed, even a simple console.log(33) statement did not display in the console.
Lara Zeus
Lara Zeusβ€’14mo ago
make sure you are running npm in the package folder not the app maybe try to copy them manually? just to test it's there and working any console errors?
lazydog
lazydogOPβ€’14mo ago
It was my mistake, I re-forked the repository and included all the branches. The main branch is not compatible with version 3. I verified all the branches, and there is a "v3" branch. I executed all the necessary commands, and everything is working as expected now. Thanks πŸ™‚
Lara Zeus
Lara Zeusβ€’14mo ago
prefect πŸ™‚
Want results from more Discord servers?
Add your server