Chris
Chris
Explore posts from servers
FFilament
Created by Chris on 9/16/2024 in #❓┊help
Javascript Module Import
Hello, I am trying to import a Javascript file from either public or resources - whichever is easier. It appers it needs to be imported as a module, but I am seeing this error
Uncaught TypeError: Failed to resolve module specifier "filepond". Relative references must start with either "/", "./", or "../".
Uncaught TypeError: Failed to resolve module specifier "filepond". Relative references must start with either "/", "./", or "../".
I have attaches some code below. Thank you for any help you may have. In AppServiceProvider boot method
FilamentAsset::register([
Js::make('file-pond',url('/js/app/file-pond.js'))->module(),
]);
FilamentAsset::register([
Js::make('file-pond',url('/js/app/file-pond.js'))->module(),
]);
And then trying to use as follows
//
import * as FilePond from 'filepond';


window.FilePond = FilePond;
//
import * as FilePond from 'filepond';


window.FilePond = FilePond;
If there is a better way to access the filepond instance from blade I am also open to that.
1 replies
FFilament
Created by Chris on 8/28/2024 in #❓┊help
Multi-tenancy: Remove tenant identifier from URL and use a field on the User model instead.
Is it possible to remove all tenant identifying information from the URL and resolves my tenant from the 'currentTeam' prop on my User model?
9 replies
FFilament
Created by Chris on 7/4/2024 in #❓┊help
Create landing page - stop redirect to login
I am trying to make a page at /welcome, but i keep getting redirected to /login. How can I fix this?
9 replies
FFilament
Created by Chris on 12/22/2023 in #❓┊help
Change "Submit" button text on an Action Modal?
Can you change the text on the "submit" button in an action modal?
3 replies