gurvindersingh's avatar

Yajra data table not working

I have got this error in yajra data table ````Class 'DataTables' not found"```. You can see it in attached link. http://prntscr.com/nfwqde http://prntscr.com/nfws84

This package is working fine on my local system but don't works on live server. I have followed following steps to upload it.

  1. override composer.json and composer.lock file with local files.
  2. upload yajra folder from local vendor directory to live vendor directory
  3. override app.php with local app.php
  4. update view file.
  5. update controller
  6. update web.php

Is there something else i have to do to make it work?

SSH details are not working so i can't install it using composer on live.

0 likes
2 replies
gurvindersingh's avatar
gurvindersingh
OP
Best Answer
Level 1

Last step: run composer install in ssh inside your root directory.

After this step it's working for me.

Please or to participate in this conversation.