you can use Media::class to build a file input like this
Media::class
Media::make('name');
this class works with vue ViltMedia.vue
ViltMedia.vue
it has some more methods for setting options
you can use a media lib on update "1.0.14" by use this method
I will gave you access to media lib and you can select any image [working on single image only for now], or get image for URL as option
Last updated 3 years ago
->max(int) ->multi(bool) ->type(string) // 'image', 'file'
->type('lib')