diff --git a/doc/01.1-webpack-config.md b/doc/01.1-webpack-config.md index dc7c435..f9c8f42 100644 --- a/doc/01.1-webpack-config.md +++ b/doc/01.1-webpack-config.md @@ -62,6 +62,18 @@ webpack_encore: {{ encore_entry_link_tags('bitbag-cs-admin', null, 'cs_admin') }} ``` +If the following directories and files do not exist, create them: + +1. Directory for admin templates: + - `templates/bundles/SyliusAdminBundle/` + - File: `_scripts.html.twig` + - File: `_styles.html.twig` + +2. Directory for shop templates: + - `templates/bundles/SyliusShopBundle/` + - File: `_scripts.html.twig` + - File: `_styles.html.twig` + Please note, the template file paths may differ, depending on Sylius version. 5. Run `yarn encore dev` or `yarn encore production` diff --git a/doc/installation.md b/doc/installation.md index 2d891c8..42fdd58 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -26,7 +26,7 @@ We work on stable, supported and up-to-date versions of packages. We recommend y ## Composer: ```bash -composer require bitbag/crossselling-plugin --no-scripts +composer require bitbag/crossselling-plugin --no-scripts -W ``` ## Basic configuration: @@ -145,6 +145,18 @@ SyliusShopBundle: {{ encore_entry_link_tags('bitbag-cs-shop', null, 'cs_shop') }} ``` +If the following directories and files do not exist, create them: + +1. Directory for admin templates: + - `templates/bundles/SyliusAdminBundle/` + - File: `_scripts.html.twig` + - File: `_styles.html.twig` + +2. Directory for shop templates: + - `templates/bundles/SyliusShopBundle/` + - File: `_scripts.html.twig` + - File: `_styles.html.twig` + ### Run commands ```bash yarn install