turbotech/turbotech-component
最新稳定版本:v0.1.2
Composer 安装命令:
composer require turbotech/turbotech-component
包简介
turbotech/turbotech-components is a Laravel components framework builder developed based on Laravel/framework and TailwindCss for styling. It provides a set of Laravel components that can be used to build Laravel applications.
README 文档
README
About turbotech/turbotech-component
Build for SmartERP, and SmartPOS Components
Installation
You can install the package via composer:
composer require turbotech/turbotech-component
Usage
Inside providers of config/app.php
'providers' => [ /* * Laravel Framework Service Providers... */ ... TURBOTECH\Component\ServicesProvider::class, ]
Inside providers of composer.json
"autoload": { "psr-4": { ... "TURBOTECH\\Component\\":"vendor/turbotech/turbotech-component/src" } },
Tailwindcss Styling Support:
Add ./vendor/turbotech/turbotech-component/src/view/*.blade.php inside content to compiling style from package.
content: [ ... "./vendor/turbotech/turbotech-component/src/view/*.blade.php", "./vendor/turbotech/turbotech-component/src/view/**/*.blade.php", "./vendor/turbotech/turbotech-component/src/view/**/**/*.blade.php", "./vendor/turbotech/turbotech-component/src/view/**/**/**/*.blade.php", ],
If compiling via Laravel Modules package:
const path = require('path');
content: [ ... path.join(__dirname, "./vendor/turbotech/turbotech-component/src/view/*.blade.php"), path.join(__dirname, "./vendor/turbotech/turbotech-component/src/view/**/*.blade.php"), path.join(__dirname, "./vendor/turbotech/turbotech-component/src/view/**/**/*.blade.php"), path.join(__dirname, "./vendor/turbotech/turbotech-component/src/view/**/**/**/*.blade.php"), ]
then compile css with Tailwindcss
npm run watch
to start server
php artisan serve
Contributors
Community
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 357
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-03