Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var config = {
- map: {
- '*': {
- dataTables: 'Inkind_Sales/js/datatables.min'
- }
- }
- };
- <?xml version="1.0"?>
- <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
- <head>
- <css src="Vendor_Module::css/datatables.min.css"/>
- </head>
- <script>
- require(['jquery', 'jquery/ui','dataTables'], function($){
- $(document).ready(function($){
- $('#example').DataTable();
- });
- });
- Uncaught Error: Script error for: jquery
Add Comment
Please, Sign In to add comment