Skip to content

turbotechlabs/turbotech.gitbook.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Build for SmartERP, and SmartPOS Components

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •