Twill assets error
Hello to everyone i have an website in production builded in twill but some twill assets in there are missing there, in local environment everything works fine but in there cause me those errors like in picture above anyone can help me to find a solution about this ?
12 Replies
Hi @mathew_d which version of twill?
in composer.json it is 2.0
any custom built Vue component for twill in your codebase? If not, you can run
php artisan twill:update
to make sure the latest version of the frontend assets are published in your application's public folder.i have vue component only for my frontend pages not custom component for the cms
Cool so you can do twill:update.
php artisan view:clear
and php artisan cache:clear
could help too depending on your issue.i did and the same error apears
do you see those files in your public folder?
they should be public/assets/..
?
yes
oh my wrong the was registered to the public and my root was public_html
it worked
thank you so much
🙂
no problem! good luck with your production launch!