PHP code example of swissup / module-theme-store-views
1. Go to this page and download the library: Download swissup/module-theme-store-views 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/ */
swissup / module-theme-store-views example snippets
bash
# Create store views (skips existing ones)
php bin/magento swissup:theme:create-storeviews
# Force reinstall themes for all store views
php bin/magento swissup:theme:create-storeviews --reinstall
# Show help
php bin/magento swissup:theme:create-storeviews --help