Skip to content
New issue

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

Target [Butschster\Head\Contracts\MetaTags\MetaInterface] is not instantiable. #52

Closed
faridsa opened this issue Feb 10, 2023 · 1 comment

Comments

@faridsa
Copy link

faridsa commented Feb 10, 2023

Using butschster/meta-tags v2.3.0 under Laravel 9.51

My controller

  1. use \Butschster\Head\Facades\Meta;
  2. in index function: Meta::setTitle('Ofertas');
  3. In blade template {!! Meta::toHtml() !!}
@wizard-85
Copy link

@faridsa Add \App\Providers\MetaTagsServiceProvider::class, to config/app.php to providers array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants