PHP code example of nongbit / codeigniter-vite
1. Go to this page and download the library: Download nongbit/codeigniter-vite 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/ */
nongbit / codeigniter-vite example snippets
namespace Config;
use CodeIgniter\Config\BaseConfig;
class Vite extends BaseConfig
{
public array $entryPoints = [
'' => 'Views/assets/js/app.js',
];
}
shell
php spark vite:init