omnia-digital/library
最新稳定版本:2.0
Composer 安装命令:
composer require omnia-digital/library
包简介
Offer a bunch of components for modern web
README 文档
README
Offer a bunch of components for modern web.
Installation
You can install the package via composer:
composer require omnia-digital/library
Publish the package scripts:
php artisan vendor:publish --tag="library-assets"
Include the assets
<html> <head> ... @libraryStyles </head> <body> ... @libraryScripts </body> </html>
Config Tailwind CSS for all components in tailwind.config.js:
module.exports = { content: [ ... './vendor/omnia-digital/library/resources/views/**/*.blade.php', ] };
Optional Steps
Config File + Component Views
You can publish the config file with:
php artisan vendor:publish --tag="library-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="library-views"
Alpine.js Plugins
This package uses focus and collapse plugins for improving UI/UX. Consider adding it in your resources/js/app.js:
import Alpine from 'alpinejs'; import focus from '@alpinejs/focus'; import collapse from '@alpinejs/collapse'; Alpine.plugin(focus) Alpine.plugin(collapse) window.Alpine = Alpine; Alpine.start();
Usage
...
Media Manager
To use the Media Manager component, you need to install this package first: https://github.com/omnia-digital/media-manager
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 4.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-11