Skip to content

Commit

Permalink
Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
kreaweb.be committed Mar 18, 2024
1 parent 6c233a0 commit e59104d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/js/datatables.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import JSZip from 'jszip';

import pdfMake from 'pdfmake';
import * as pdfFonts from "pdfmake/build/vfs_fonts.js";
pdfMake.vfs = window.pdfMake.vfs;
//pdfMake.vfs = window.pdfMake.vfs;
pdfMake.vfs = pdfFonts.pdfMake.vfs;
/* -------------------------------------------------------------------------------------- */
DataTable.Buttons.jszip(JSZip);
DataTable.Buttons.pdfMake(pdfMake);
Expand Down

0 comments on commit e59104d

Please sign in to comment.