Tabulator: hello! can anybody help me with adding (installing) tabulator to laravel 5?

Created on 26 Apr 2019  路  3Comments  路  Source: olifolkerd/tabulator

i'm new to laravel and js and having problem with adding tabulator js library to laravel 5.4.

  1. i did NPM installation with following command: npm install tabulator-tables --save
  2. now i don't have any idea where to add: var Tabulator = require('tabulator-tables');
Question - Ask On Stack Overflow

Most helpful comment

Hey @iBek23

In your app.js you need to add a line:

window.Tabulator = require('tabulator-tables');

I hope that helps,

Cheers

Oli :)

All 3 comments

/resources/assets/js/bootstrap.js

I'd recommend referencing how axios/jquery/etc is required.

/resources/assets/js/bootstrap.js

I'd recommend referencing how axios/jquery/etc is required.

thanks for reply!!! but, maaan i'm stupid. i need instructions.

Hey @iBek23

In your app.js you need to add a line:

window.Tabulator = require('tabulator-tables');

I hope that helps,

Cheers

Oli :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aditya-thimphu picture aditya-thimphu  路  3Comments

KES777 picture KES777  路  3Comments

tomvanlier picture tomvanlier  路  3Comments

andreivanea picture andreivanea  路  3Comments

AndrewHutcheson picture AndrewHutcheson  路  3Comments