Sylius bootstrap frontend based on https://github.com/SyliusCrafts/BootstrapTheme, but using latest bootstrap and deeper symfony template override integration.
-
Install webpack encore See https://docs.sylius.com/en/1.10/cookbook/frontend/webpack.html
-
Install this bundle:
composer require unite/sylius-bootstrap-bundle
- Enable the bundle:
Unite\SyliusBootstrapBundle\UniteSyliusBootstrapBundle::class => ['all' => true],
// assets/shop/shop-entry.js
import 'unite-sylius-bootstrap/Resources/assets/shop';
import './shop.scss';
import './img/logo.svg';
// assets/shop/shop.scss
// @import "scss/variables" override all bootstrap variables
@import "~unite-sylius-bootstrap/Resources/assets/shop";