承接 turbotech/turbotech-component 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Laravel Logo

Total Downloads

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-03