Closed KevinGorjan closed 3 years ago
Hi @KevinGorjan. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
I asked Kevin to open the issue so we could document this incase folks run into the problem in the future as it is fixed on develop
and should be fixed in the upcoming v9 release.
Just to check, I added a route to the top of defaultRoutes.json
, which duplicated the AccountInformationPage with a different name and pattern. It worked and I was able to use both /account
and /account-information
to reach the same component!
[
{
"name": "Account",
"pattern": "/account",
"exact": true,
"path": "../AccountInformationPage"
},
...
]
Describe the bug Hi all. I'm developing a package where I need that creates multi URLs but load the same components. This is needed for the side-menu I need.
But when I re-start the development server, I receive this error
But when I load a new component for
Customers orders
, it can compile, but that's not what I need :-)To reproduce
Expected behavior To load the same component with multiple URLs
Please complete the following device information:
npm -v
: yarn (1.22.5)node -v
: 12.18.1Please let us know what packages this bug is in regards to:
venia-concept
venia-ui
pwa-buildpack
peregrine
pwa-devdocs
upward-js
upward-spec
create-pwa