There appears to be an API exposed for using Folio with a custom response Folio::renderUsing. However, if I do something like the following to render components with Inertia, it only works when I have the same directory structure in the default views/pages folder.
ideally we could modify the resource path and add a value in a config file or in the service provider to tell Folio to search for svelte files instead of blade files so we could have the following directory structure instead:
There appears to be an API exposed for using Folio with a custom response
Folio::renderUsing
. However, if I do something like the following to render components with Inertia, it only works when I have the same directory structure in the defaultviews/pages
folder.example directory structure that successfully renders svelte components using Inertia:
ideally we could modify the resource path and add a value in a config file or in the service provider to tell Folio to search for svelte files instead of blade files so we could have the following directory structure instead:
The setup could look something like this: