Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 957 Bytes

readme.md

File metadata and controls

31 lines (21 loc) · 957 Bytes

Laravel, DataTables, Bootstrap 4 and Vite

Get started with Laravel, DataTables, Bootstrap and Vite in a few minutes. This package based on Laravel-datatables-vite Thanks.

Installation

npm i laravel-datatables-vite-bs4 --save-dev

Setup

Add the following to your resources/js/app.js file:

import 'laravel-datatables-vite-bs4';

Add the following to your resources/sass/app.scss file:

@import 'bootstrap-icons/font/bootstrap-icons.css';
@import "datatables.net-bs4/css/dataTables.bootstrap4.min.css";
@import "datatables.net-buttons-bs4/css/buttons.bootstrap4.min.css";
@import 'datatables.net-select-bs4/css/select.bootstrap4.css';

Quick Starter

A quick starter guide is available at the official package docs. Based on Laravel-datatables-vite