We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
after migrate from teepluss\theme to FaCuZ/laravel-theme, in script
{!! Theme::asset()->container('footer')->usePath()->add('app', 'js/app.js') !!}
i get error:
"Object of class Facuz\Theme\AssetContainer could not be converted to string (View: D:\WWW\barlin\public\themes\default\views\landing.blade.php)"
then result in dd:
AssetContainer {#5927 ▼ +usePath: true +path: null +name: "footer" +"assets": array:1 [▼ "script" => array:1 [▼ "app" => array:3 [▼ "source" => "public/themes/default/assets/js/app.js" "dependencies" => [] "attributes" => [] ] ] ] }
whats wrong this script?
The text was updated successfully, but these errors were encountered:
I'm having the exact same issue, did you manage to fix it ?
Sorry, something went wrong.
@php Theme::asset()->add('app', 'https://example.com/js/app.js') @endphp @php Theme::asset()->themePath()->add('app', 'js/app.js') @endphp @php Theme::asset()->container('footer')->themePath()->add('app', 'js/app.js') @endphp
No branches or pull requests
after migrate from teepluss\theme to FaCuZ/laravel-theme, in script
i get error:
then result in dd:
whats wrong this script?
The text was updated successfully, but these errors were encountered: