Skip to content

Livewire\Exceptions\MethodNotFoundException: Unable to call component method. Public method [data] not found on component: [usernotnull.toast.http.livewire.toast-component] #237

Answered by shawndreck
shawndreck asked this question in Q&A
Discussion options

You must be logged in to vote

This is a summary of the discussion above as answer


server{
    listen 80;
    server_name example.localhost;

    # Other Nginx config here

     # Avoid caching livewire.js and tall toast files
      location ~* .(livewire|tall-toast)$  {
                index index.php index.html index.htm;
                try_files $uri $uri/ /index.php?$query_string;
                gzip_static on;
        }
}

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@shawndreck
Comment options

@usernotnull
Comment options

@shawndreck
Comment options

Comment options

You must be logged in to vote
2 replies
@fdordovlatov
Comment options

@usernotnull
Comment options

Answer selected by shawndreck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants