Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yajra/laravel-datatables-vite
- Owner: yajra
- Created: 2022-10-14T04:20:30.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-13T05:42:39.000Z (15 days ago)
- Last Synced: 2024-12-13T05:45:14.866Z (15 days ago)
- Topics: bootstrap, datatables, laravel, vite
- Language: JavaScript
- Homepage: https://yajrabox.com/docs/laravel-datatables/quick-starter
- Size: 39.1 KB
- Stars: 23
- Watchers: 6
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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.