The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

Laravel Examples


Can we get some actual examples of setting up a DataTable, Quill, and maybe a few other assets using Laravel? It'd be nice to have something to reference. For example, in-order for me to get DataTables working I needed to import jquery (code below). This seems incorrect, but I have nothing to compare this to. The Laravel documentation feels kind of lacking.



<script src="
<!-- Your script -->
<script>
$(document).ready(function() {
$("#kt_datatable_zero_configuration").DataTable();
});
</script>


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)

 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
 
Deleted comment
Deleted comment
 
Deleted comment

Hi,

Metronic Laravel have already including all the necessary JavaScript libraries, including jQuery and DataTables. Our Metronic Laravel package use Yajra DataTables, which is a popular DataTables package for Laravel.

Regarding your concern about importing jQuery explicitly, that it's part of the dependencies that come bundled with Metronic Laravel, so you don't need to import it separately.

For a quick start with Yajra DataTables in Metronic Laravel, you can refer to the official documentation at
The documentation provides clear examples and instructions on how to set up DataTables for your Laravel project.

If you have any further questions or need assistance with other assets, feel free to ask!

Thanks



Hi,

May I know which template, version, and demo using ?
Our Metronic has ready to use Laravel Starter Kit. For more info please check the Laravel Starter Kit Docs.

Regards.


 
Deleted comment

Are we able to get proper documentation for this?


 
Deleted comment
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.