Laravel-adminlte: @livewireStyles shown as a text in Laravel 8

Created on 28 Oct 2020  路  2Comments  路  Source: jeroennoten/Laravel-AdminLTE

Most helpful comment

I had a running Laravel project and implemented Livewire later on. (v2.3.1)

There was the problem that the @livewire*-directives were not processed and @livewireStyles and @livewireScripts were literally printed on the webpage instead.

I could fix this problem by running php artisan view:clear

All 2 comments

That's wrong. According to the docu of livewire, the syntax is correct:
https://laravel-livewire.com/docs/2.x/quickstart

I had a running Laravel project and implemented Livewire later on. (v2.3.1)

There was the problem that the @livewire*-directives were not processed and @livewireStyles and @livewireScripts were literally printed on the webpage instead.

I could fix this problem by running php artisan view:clear

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahishamali10 picture ahishamali10  路  5Comments

vsilva472 picture vsilva472  路  4Comments

fagnerfjas picture fagnerfjas  路  5Comments

eraporsmk picture eraporsmk  路  5Comments

dunfy picture dunfy  路  6Comments