File tree 3 files changed +35
-0
lines changed
3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ imports :
2
+ - { resource: "@SyliusCmsPlugin/config/config.yaml" }
Original file line number Diff line number Diff line change
1
+ sylius_cms_admin :
2
+ resource : " @SyliusCmsPlugin/config/routes/admin.yaml"
3
+ prefix : ' /%sylius_admin.path_name%'
4
+
5
+ sylius_cms_shop :
6
+ resource : " @SyliusCmsPlugin/config/routes/shop.yaml"
7
+ prefix : /{_locale}
8
+ requirements :
9
+ _locale : ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$
Original file line number Diff line number Diff line change
1
+ {
2
+ "bundles" : {
3
+ "Sylius\\ CmsPlugin\\ SyliusCmsPlugin" : [
4
+ " all"
5
+ ]
6
+ },
7
+ "copy-from-recipe" : {
8
+ "config/" : " %CONFIG_DIR%/"
9
+ },
10
+ "add-lines" : [
11
+ {
12
+ "file" : " assets/admin/entrypoint.js" ,
13
+ "content" : " import '@vendor/sylius/cms-plugin/assets/admin/entrypoint';" ,
14
+ "position" : " bottom" ,
15
+ "warn_if_missing" : true
16
+ },
17
+ {
18
+ "file" : " assets/shop/entrypoint.js" ,
19
+ "content" : " import '@vendor/sylius/cms-plugin/assets/shop/entrypoint';" ,
20
+ "position" : " bottom" ,
21
+ "warn_if_missing" : true
22
+ }
23
+ ]
24
+ }
You can’t perform that action at this time.
0 commit comments