diff --git a/configuration/micro_kernel_trait.rst b/configuration/micro_kernel_trait.rst index 74a89b24590..46f4373eb75 100644 --- a/configuration/micro_kernel_trait.rst +++ b/configuration/micro_kernel_trait.rst @@ -276,6 +276,18 @@ Template files should live in the ``Resources/views`` directory of whatever dire your *kernel* lives in. Since ``AppKernel`` lives in ``app/``, this template lives at ``app/Resources/views/micro/random.html.twig``. +.. code-block:: html+twig + + + +
+{{ number }}
+ + + Finally, you need a front controller to boot and run the application. Create a ``web/index.php``:: @@ -305,7 +317,6 @@ this: │ ├─ logs/ │ └─ Resources | └─ views - | ├─ base.html.twig | └─ micro | └─ random.html.twig ├─ src/