Skip to content

Stenope doesn't generate pages for localized routes #187

@Alexandre-Fernandez

Description

@Alexandre-Fernandez

I have the following config :

config/services.yaml

parameters:
  app.supported_locales: "en|fr"

src/Controller/AppController.php

    #[Route("/{_locale<%app.supported_locales%>}", name: "index")]
    public function index(): Response
    { /* ... */ }

When I run php bin/console -e prod stenope:build ./static stenope doesn't generate any page for my route.

EDIT:
I also tried replacing my custom parameter with enabled_locales, and it still doesn't work, is there a workaround ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions