Cant find view for Filament-Peek
According to the docs, I have to point the function to the blade file of the resource, but it doesnt exist. How can I publish it? Or am I missing something else?
Docs: https://github.com/pboivin/filament-peek/blob/2.x/docs/page-previews.md
GitHub
filament-peek/docs/page-previews.md at 2.x Β· pboivin/filament-peek
Full-screen page preview modal for Filament. Contribute to pboivin/filament-peek development by creating an account on GitHub.
7 Replies
Ive added the files manually and I still got some issues:
Hi @thethunderturner, you can ask plugin specific question in the #peek channel
But to your issue, the
preview.blade.php
is just a regular view from your project, you don't need to publish anything
So test_uploads.preview
should correspond to resources/views/test_uploads/preview.blade.php
<x-preview-banner />
is just an example to illustrate the use of $isPeekPreviewModal
. It says you can check the existence of this variable to determine if the Blade view is used in the context of a preview or not.Okk thank you
I dont mean to offend but I find it a bit complicated π
I'm open to suggestions, don't hesitate to point out exactly what was difficult to understand in the documentation. I've been getting very little feedback on that so far.