PHP code example of think.studio / nova-text-card
1. Go to this page and download the library: Download think.studio/nova-text-card library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
think.studio / nova-text-card example snippets
class Main extends Dashboard
{
public function cards()
{
return [
\NovaTextCard\NovaTextCard::make()
->width('full')
->content('<h1 class="text-center text-3xl text-gray-500 font-light">Welcome to the application!</h1>')
];
}
}