Router not displaying views

Hi everyone!
I am trying to set up a basic routing in my system, but it seems not to work.

The application loads fine, no errors are displayed.
Here is module.config.php file.

use Application\Controller\CustomersController;
use Application\Controller\OrdersController;
use Laminas\Router\Http\Literal;
use Laminas\Router\Http\Segment;
use Laminas\ServiceManager\Factory\InvokableFactory;

return [
    'router' => [
        'routes' => [
            'home' => [
                'type'    => Literal::class,
                'options' => [
                    'route'    => '/',
                    'defaults' => [
                        'controller' => Controller\IndexController::class,
                        'action'     => 'index',
                    ],
                ],
            ],
            'application' => [
                'type'    => Segment::class,
                'options' => [
                    'route'    => '/application[/:action]',
                    'defaults' => [
                        'controller' => Controller\IndexController::class,
                        'action'     => 'index',
                    ],
                ],
            ],
            'orders' => [
                'type'    => Literal::class,
                'options' => [
                    'route'    => '/orders',
                    'defaults' => [
                        'controller' => OrdersController::class,
                        'action'     => 'index',
                    ],
                ],
            ],
            'customers' => [
                'type'    => Literal::class,
                'options' => [
                    'route'    => '/customers',
                    'defaults' => [
                        'controller' => CustomersController::class,
                        'action'     => 'index',
                    ],
                ],
            ],
        ],
    ],
    'controllers' => [
        'factories' => [
            Controller\IndexController::class => InvokableFactory::class,
            Controller\OrdersController::class => InvokableFactory::class,
            CustomersController::class => InvokableFactory::class,
        ],
    ],
    'view_manager' => [
        'display_not_found_reason' => true,
        'display_exceptions'       => true,
        'doctype'                  => 'HTML5',
        'not_found_template'       => 'error/404',
        'exception_template'       => 'error/index',
        'template_map' => [
            'layout/layout'           => __DIR__ . '/../view/layout/layout.phtml',
            'application/index/index' => __DIR__ . '/../view/application/index/index.phtml',
            'error/404'               => __DIR__ . '/../view/error/404.phtml',
            'error/index'             => __DIR__ . '/../view/error/index.phtml',
        ],
        'template_path_stack' => [
            __DIR__ . '/../view',
        ],
    ],
];

The view directory structure is this:
view
____application
________customers
____________index.phtml
________index
____________index.phtml
________orders
____________index.phtml
____error
____layout

Have you activated the develeopment mode?

Still not showing anything!

Do you only get a white page or some error messages?

(Please remember, we can’t look at your screen, so details are important. :wink:)

White pages, for all the routes except for the home route shipped with the installation.

Please check also the error reporting:

https://www.php.net/manual/en/function.error-reporting.php

you can try clearing the cache in data/cache folder or just rename the cache file