Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 908 Bytes

01.4-custom-solution.md

File metadata and controls

36 lines (23 loc) · 908 Bytes

BitBag SyliusCmsPlugin

Installation - Custom solution

If none of the previous methods work for your project, you can write your own encore configuration:

Main entry points:

// shop
.addEntry('/vendor/bitbag/cms-plugin/src/Resources/assets/shop/entry.js')

// admin
.addEntry('/vendor/bitbag/cms-plugin/src/Resources/assets/admin/entry.js')

Style entry points:

// shop
.addStyleEntry('/vendor/bitbag/cms-plugin/src/Resources/assets/shop/scss/main.scss')

// admin
.addStyleEntry('/vendor/bitbag/cms-plugin/src/Resources/assets/admin/scss/main.scss')

Location of the pictures:

  • shop: /vendor/bitbag/cms-plugin/src/Resources/assets/shop/images/*
  • admin: /vendor/bitbag/cms-plugin/src/Resources/assets/admin/images/*

More information: Advanced Webpack Config