Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yajra/laravel-datatables-vite

Laravel DataTables with Vite
https://github.com/yajra/laravel-datatables-vite

bootstrap datatables laravel vite

Last synced: 2 days ago
JSON representation

Laravel DataTables with Vite

Awesome Lists containing this project

README

        

# Laravel, DataTables, Bootstrap and Vite

Get started with Laravel, DataTables, Bootstrap and Vite in a few minutes.

## Installation

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

## Setup

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

```js
import 'laravel-datatables-vite';
```

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

```css
@import "bootstrap-icons/font/bootstrap-icons.min.css";
@import "datatables.net-bs5/css/dataTables.bootstrap5.min.css";
@import "datatables.net-buttons-bs5/css/buttons.bootstrap5.min.css";
@import "datatables.net-select-bs5/css/select.bootstrap5.min.css";
```

## Quick Starter

A [quick starter guide](https://yajrabox.com/docs/laravel-datatables/10.0/quick-starter) is available at the official package docs.