Adrien Foulon

Results 434 comments of Adrien Foulon

But then what you want is just a prop that you can reuse in multiple pages, no need for anything extra, just create a class `Resources` in it add a...

> The best way I can think of to fix this is by having a Vite plugin gather the uses of a resource on a page and tell Laravel about...

> Wouldn't you still have the determinism issue if you did this? Since you still need at least 1 page load before you have that dependency tree. No, I meant...

> A use case where this could be useful is if you have 2 or more select elements with different purposes but the same data that need to be refreshed...

Yes but that's not really the expected behavior is it? I think an empty path should mean the current object, instead of a key with an empty string and the...

Hello, Did you follow the installation instructions? https://github.com/Tofandel/inertia-vue3-modal#client-side-installation You need to import the component in a global template or the plugin is not going to be loaded

The method `visitInModal` is added when the InertiaModal component is being mounted, so make sure you have that component on the layout somewhere before calling `visitInModal` Yes dev-main is fine,...

Yes, that's correct I added the possibility to have multiple instances of the modal at the same time using a modal key to have nested modals and such, which is...

Try replacing `"@tofandel/inertia-vue-modal": "file:vendor/tofandel/inertia-vue-modal"` with `"@tofandel/inertia-vue-modal": "^0.2.26"` and run npm install, looks like your system is having issues with npm symlinks, but I find it weird that it would fail...

Yes it is, but then it confirms that you are trying to use the modal without actually having mounted the InertiaModal component, or that you have multiple Inertia installed and...