From ec660d4d4d5e8190b7369feba16b764d7896f9ce Mon Sep 17 00:00:00 2001 From: Jalen <49196998+JalenWasHere@users.noreply.github.com> Date: Thu, 20 Mar 2025 11:24:03 +0100 Subject: [PATCH] Corrected the preview template path --- docs/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index bd6b0aa..31b9653 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -64,7 +64,7 @@ When Storybook compiles your stories, it also prepares an HTML document where st To customize the iframe, you can override the preview template provided by the bundle: ```twig -{# templates/bundles/@StorybookBundle/preview.html.twig #} +{# templates/bundles/StorybookBundle/preview.html.twig #} {% extends '@!Storybook/preview.html.twig' %} @@ -116,7 +116,7 @@ Symfony application. To use Storybook with a project that uses the [AssetMapper component](https://symfony.com/doc/current/frontend/asset_mapper.html), you need to render your importmap in the preview template: ```twig -{# templates/bundles/@StorybookBundle/preview.html.twig #} +{# templates/bundles/StorybookBundle/preview.html.twig #} {% extends '@!Storybook/preview.html.twig' %}