Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @see https://github.com/Sylius/SyliusResourceBundle/blob/master/docs/index.md
# @see https://stack.sylius.com/resource/index
sylius_resource:
# Override default settings
#settings:
Expand Down
15 changes: 15 additions & 0 deletions sylius/resource-bundle/1.13/config/packages/sylius_resource.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# @see https://github.com/Sylius/SyliusResourceBundle/blob/master/docs/index.md

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please adjust this URL as currently it leads to 404.
image

Comment thread
diimpp marked this conversation as resolved.
Outdated
sylius_resource:
# Override default settings
#settings:

# Configure the mapping for your resources
mapping:
paths:
- '%kernel.project_dir%/src/Entity'

# Configure your resources
resources:
#app.book:
#classes:
#model: App\Entity\Book
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sylius_resource_loader:
resource: 'sylius.symfony.routing.loader.resource'
type: service
12 changes: 12 additions & 0 deletions sylius/resource-bundle/1.13/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"container": {
"locale": "en"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking just in case, is locale necessary for resource standalone usage?

@loic425 loic425 Jul 9, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have removed that dependency on 1.14 branch. So we will be able to remove that when it will be stable

},
"bundles": {
"Sylius\\Bundle\\ResourceBundle\\SyliusResourceBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
}
}
Empty file.
Loading