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

Blade directive keeps showing as normal text in production #108

Open
AutiCodes opened this issue Aug 12, 2024 · 2 comments
Open

Blade directive keeps showing as normal text in production #108

AutiCodes opened this issue Aug 12, 2024 · 2 comments

Comments

@AutiCodes
Copy link

Hi. So i've tested this package on the local dev enviroment.

Now i pushed it to prod. On prod i did:

  • git pull origin main
  • composer require silviolleite/laravelpwa --prefer-dist
  • php artisan vendor:publish --provider="LaravelPWA\Providers\LaravelPWAServiceProvider"
  • composer dump-autoload
  • php artisan route:cache

But it still shows the blade directive as normal text.
The console does show that it registered the service worker: Laravel PWA: ServiceWorker registration successful with scope: https://club.trmc.nl/

It runs on Laravel 11.x with Apache as web server (DirectAdmin.

Hopefully we can figure it out :)

@aeruggiero
Copy link

Same issue, did you solve somehow?

@mfakhrys
Copy link

Run this:

php artisan cache:clear
php artisan config:clear
php artisan view:clear

it solves my problem

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