volto icon indicating copy to clipboard operation
volto copied to clipboard

Default routes provided by the generator don't include everything

Open tiberiuichim opened this issue 3 years ago • 1 comments

https://github.com/plone/volto/blob/05162223a7c08000f3cf86b8ebdd784cbef04fe7/packages/generator-volto/generators/app/templates/src/routes.js#L7

As you see, in the routes.js the generator uses the default_routes. But the multilanguage routes are not included in the default routes, which is a problem.

All these:

https://github.com/plone/volto/blob/05162223a7c08000f3cf86b8ebdd784cbef04fe7/src/routes.js#L272

and https://github.com/plone/volto/blob/05162223a7c08000f3cf86b8ebdd784cbef04fe7/src/routes.js#L266-L269

should be moved in the default routes.

tiberiuichim avatar Sep 19 '22 08:09 tiberiuichim

CC @erral

tiberiuichim avatar Sep 23 '22 10:09 tiberiuichim