Skip to content

Commit cb4ab5a

Browse files
authored
Merge pull request #1144 from weaverryan/ux-26-structure
[UX] New route file locations in 2 packages
2 parents 7d80e94 + 88ca4f9 commit cb4ab5a

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ux_autocomplete:
2+
resource: '@AutocompleteBundle/config/routes.php'
3+
prefix: '/autocomplete'
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bundles": {
3+
"Symfony\\UX\\Autocomplete\\AutocompleteBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
}
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
live_component:
2+
resource: '@LiveComponentBundle/config/routes.php'
3+
prefix: '/_components'
4+
# adjust prefix to add localization to your components
5+
#prefix: '/{_locale}/_components'
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"bundles": {
3+
"Symfony\\UX\\LiveComponent\\LiveComponentBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
}
8+
}

0 commit comments

Comments
 (0)