Component
Components
  • 🏠turbotech-component
  • 🚀Installations
  • 📦Required Package
  • 📦Laravel-Modules Style
  • ________________________________
  • Data Displays
    • Form View
      • Phone Formatted
    • Charts
      • Line Chart
      • Bar Chart
      • Pie Chart
      • Doughnut Chart
      • Polar Area Chart
      • Radar Chart
      • Scatter Chart
    • Stats
      • Trending
      • Simple
      • Brand
  • Elements
    • Buttons
      • Default Button
      • Primary Button
      • Secondary Button
      • Warning Button
      • Danger Button
      • Success Button
    • Forms Input
      • English Name
      • Khmer Name
      • Phone
      • URL
      • Camel URL
      • Email
  • Headings
    • Card Heading
    • Header
  • Layouts
    • Panels
      • Main Card
Powered by GitBook
On this page

Was this helpful?

Laravel-Modules Style

To config with Laravel-Modules package

Tailwindcss Styling Config

Add ./vendor/sophat/elements/src/view/*.blade.php inside content to compiling style from package.

const path = require('path');
content: [
    ...
    path.join(__dirname, "../../vendor/turbotech/**/src/views/*.blade.php"),
    path.join(__dirname, "../../vendor/turbotech/**/src/views/**/*.blade.php"),
    path.join(__dirname, "../../vendor/turbotech/**/src/views/**/**/*.blade.php"),
    path.join(__dirname, "../../vendor/turbotech/**/src/views/**/**/**/*.blade.php")
]

then compile css with Tailwindcss

npm run watch
PreviousRequired PackageNextData Displays

Last updated 2 years ago

Was this helpful?

📦