I was having issues getting this to work for me so I decided to take an entry from the example and it won't load either. Using this example on my Main dashboard:
public function cards()
{
return [
// all the parameters are required
new \Mako\CustomTableCard\CustomTableCard(
['Id', 'Name', 'Date'], // header
[
[
'view' => '/resources/orders/1',
'columns' => [1, 'John Doe', '2018-08-28']
]
], // data
'Orders' //title
),
];
}
I can see this in the JS console, so it appears the data is being sent as expected....
But as shown, the text isn't actually rendered in the DOM:
Nova version 4.19.5
I was having issues getting this to work for me so I decided to take an entry from the example and it won't load either. Using this example on my
Main
dashboard:I can see this in the JS console, so it appears the data is being sent as expected....
But as shown, the text isn't actually rendered in the DOM: