A Symfony bundle for building html mock-ups.
composer require itk-dev/mock-up-bundle
Add ItkDev\MockUpBundle\ItkDevMockUpBundle
to config/bundles.php
:
return [
…,
ItkDev\MockUpBundle\ItkDevMockUpBundle::class => ['all' => true],
];
Import routes in config/routes/itkdev_mockup.yaml
, say:
itkdev_mockup:
prefix: /mock-up
resource: "@ItkDevMockUpBundle/Resources/config/routes.xml"
Create mock-up templates in templates/mock-up
and go to /mock-up
(prefix
key from config/routes/itkdev_mockup.yaml
).