ifox
08/10/2022, 11:32 AMSami
08/10/2022, 11:34 AMifox
08/10/2022, 11:35 AMonepiece
08/10/2022, 2:54 PMJeanSilva
08/10/2022, 2:56 PMonepiece
08/10/2022, 2:59 PMifox
08/10/2022, 3:06 PMonepiece
08/10/2022, 3:06 PMifox
08/10/2022, 3:08 PMonepiece
08/10/2022, 3:09 PMdakaalim
08/10/2022, 10:15 PMcomposer require area17/twill-api
kalle
08/10/2022, 10:29 PMphp artisan package:discover
which throws this errorkalle
08/10/2022, 10:32 PMjson
"scripts": {
"post-autoload-dump": [
THIS -> "@php artisan package:discover"
]
}
and after that I would try to install twill-api
and manualy I would deploy server configs. After that revert that change in composer.json.kalle
08/10/2022, 10:33 PMtwill-api
. Also here its explained how this works https://laraveljsonapi.io/docs/2.0/servers/ifox
08/10/2022, 11:13 PMifox
08/10/2022, 11:21 PMBA7YA
08/11/2022, 1:59 PMkalle
08/11/2022, 2:08 PMphp artisan twill:build
after that? Components are compiled into JS builds.BA7YA
08/11/2022, 2:13 PMalitak
08/12/2022, 7:22 AMalitak
08/12/2022, 7:23 AMalitak
08/12/2022, 7:24 AMkalle
08/12/2022, 7:28 AMkalle
08/12/2022, 7:29 AMphp
// app/Models/YourModel.php
public $filesParams = ['file_role', ...];
file_role
is the name of your form file input.alitak
08/12/2022, 7:30 AMalitak
08/12/2022, 7:30 AMalitak
08/12/2022, 7:31 AMkalle
08/12/2022, 7:33 AMalitak
08/12/2022, 7:33 AMkalle
08/12/2022, 7:34 AM