jalismrs/symfony.bundle.home

Adds a route to access home with its template

1.0.2 2021-03-04 10:49 UTC

This package is auto-updated.

Last update: 2024-05-04 17:42:13 UTC


README

Adds a route to access home with its template

Test

phpunit or vendor/bin/phpunit

coverage reports will be available in var/coverage

Configuration

# config/packages/jalismrs_home.yaml
jalismrs_home:
    main:
        id: 'app'
    css:
        'dist/main.css'
    js:
        'dist/main.js'
# config/routes.yaml
_index:
    controller: 'jalismrs_home.controller.home_controller::index'
    path: '/{catchAll}'
    requirements:
        catchAll: "^.*$"