fond-of-spryker / setup-frontend
na
Installs: 7 748
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- spryker/kernel: ^3.0.0
- spryker/setup-frontend: ^1.0.2
- spryker/zed-request: ^3.0.0
Requires (Dev)
- codeception/codeception: ^2.3
- mikey179/vfsstream: ^1.6
- php-coveralls/php-coveralls: ^2.0
- phpro/grumphp: ^0.14
- sebastian/phpcpd: ^4.0
- spryker/application: ^3.0.0
- spryker/code-sniffer: ^0.11
- spryker/kernel: ^3.0.0
This package is auto-updated.
Last update: 2024-11-05 19:22:42 UTC
README
What does it do
Extends the default module with required parameter themename. The theme must be stored under ./frontend/themename. The foldername must be lowercase.
Install
composer require fond-of-spryker/setup-frontend
Configration
Add the new module to your ConsoleDependencyProvider, mostly stored unter Pyz\Zed\Console
protected function getConsoleCommands(Container $container)
{
...
new YvesBuildFrontendConsole(),
...
}
You need to list all templates in your configration like:
$config[\FondOfSpryker\Shared\SetupFrontend\SetupFrontendConstants::YVES_THEMES] = ['theme1', 'theme2'];
Usage
frontend:yves:build
Ask the user if all themes should be created
frontend:yves:build --force
Build all themes without confirmation
frontend:yves:build themeName
Build only the given theme