acitjazz / uploadendpoint
:package_description
v1.0.2
2023-01-14 18:34 UTC
Requires
Requires (Dev)
- orchestra/testbench: ~7
- phpunit/phpunit: ~9.0
README
安装
通过 Composer
$ composer require acitjazz/uploadendpoint
用法
将缓存驱动器更改为 array/redis
CACHE_DRIVER=array
将缓存驱动器更改为 array/redis
CACHE_DRIVER=array
使用
php artisan vendor:publish --tag=acitjazz-media-migrations php artisan vendor:publish --tag=acitjazz-upload-config php artisan vendor:publish --tag=acitjazz-vue-component
migration
php artisan migrate
示例使用组件
npm install npm i filepond-plugin-image-preview --save npm i filepond-plugin-file-validate-type --save npm i filepond-plugin-image-exif-orientation --save
<template> <div id="component"> <acit-jazz-upload title="New Title" folder="bucketname" name="banners" value="[]" > </acit-jazz-upload> </div> </template> <script> // Import the Component import AcitJazzUpload from '@/Components/AcitJazzUpload.vue'; export default { components: { AcitJazzUpload, }, }; </script>
属性列表
Filepond 文档
https://pqina.nl/filepond/docs/api/
致谢
- [Acit Jazz][https://github.com/acitjazz]
许可
MIT. 请参阅 许可文件 获取更多信息。