Skip to content

Use bootstrap 5 as frontend framework for sylius

Notifications You must be signed in to change notification settings

fonpacific/sylius-bootstrap

 
 

Repository files navigation

Sylius Bootstrap Template

Sylius bootstrap frontend based on https://github.com/SyliusCrafts/BootstrapTheme, but using latest bootstrap and deeper symfony template override integration.

Installation

  1. Install webpack encore See https://docs.sylius.com/en/1.10/cookbook/frontend/webpack.html

  2. Install this bundle:

composer require unite/sylius-bootstrap-bundle
  1. 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";

About

Use bootstrap 5 as frontend framework for sylius

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Twig 90.5%
  • JavaScript 6.3%
  • SCSS 1.7%
  • PHP 1.5%