PHP code example of vfixtechnology / bagisto-nexus-theme

1. Go to this page and download the library: Download vfixtechnology/bagisto-nexus-theme 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/ */

    

vfixtechnology / bagisto-nexus-theme example snippets


cd packages/

mkdir -p Vfixtechnology/NexusTheme

Vfixtechnology\NexusTheme\Providers\NexusThemeServiceProvider::class,

"Vfixtechnology\\NexusTheme\\": "packages/Vfixtechnology/NexusTheme/src"

composer dump-autoload

   'nexus-theme' => [
            'name'        => 'Nexus',
            'assets_path' => 'public/themes/shop/nexus',
         // 'views_path' => 'resources/themes/nexus-theme/views', // Use this if you want to publish assets and override them
           'views_path' => 'packages/Vfixtechnology/NexusTheme/src/Resources/views', // Use this for hot reloading and live changes directly in the package

            'vite'        => [
                'hot_file'                 => 'shop-nexus-vite.hot',
                'build_directory'          => 'themes/shop/nexus-theme/build',
                'package_assets_directory' => 'src/Resources/assets',
            ],
        ],

npm install && npm run build

php artisan optimize:clear