1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# Fashion Theme Requirements: - **Bagisto**: v2.2.0 Installation: To setup the Fashion Theme Extension, follow these steps: 1. Unzip the respective extension zip and then merge "packages/Webkul" folders into project root directory. 2. Open the composer.json file and add the following line under the 'psr-4' section: "Webkul\\Fashion\\": "packages/Webkul/Fashion/src" 3. In the config/app.php file, add the following line under the 'providers' section: Webkul\Fashion\Providers\FashionServiceProvider::class, 4. In the `config/theme.php` file, add the following line.: 'fashion' => [ 'name' => 'Fashion', 'assets_path' => 'public/themes/fashion/default', 'views_path' => 'resources/themes/fashion/views', 'vite' => [ 'hot_file' => 'fashion-default-vite.hot', 'build_directory' => 'themes/fashion/default/build', 'package_assets_directory' => 'src/Resources/assets', ], ], 5. In the config/bagisto-vite.php file, add the following line under the 'viters' section: 'fashion' => [ 'hot_file' => 'fashion-default-vite.hot', 'build_directory' => 'themes/fashion/default/build', 'package_assets_directory' => 'src/Resources/assets', ], 6. Run the following commands to complete the setup: composer dump-autoload php artisan fashion-theme:install After following these steps, the Fashion Theme Extension should be successfully installed and ready for use in your Bagisto v2.2.0 project. |