PHP code example of adminui / inertia-routes

1. Go to this page and download the library: Download adminui/inertia-routes 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/ */

    

adminui / inertia-routes example snippets


\AdminUI\InertiaRoutes\Facades\InertiaRoutes::setConfig('admin');
sh
pnpm add ./vendor/adminui/inertia-routes
# OR
npm install ./vendor/adminui/inertia-routes
# OR
yarn add ./vendor/adminui/inertia-routes