fond-of-spryker/setup-frontend

1.0.1 2019-03-08 09:46 UTC

This package is auto-updated.

Last update: 2024-11-05 19:22:42 UTC


README

license

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