efrogg / content-renderer-storyblok-bundle

使用 storyblok 内容渲染器的 symfony 扩展包

2.7.2 2024-09-24 12:23 UTC

This package is auto-updated.

Last update: 2024-09-24 12:24:08 UTC


README

安装

composer require efrogg/content-renderer-storyblok-bundle

或 composer.json 文件

"efrogg/content-renderer-storyblok-bundle": "^0.1"

添加路由

创建 config/routes/storyblok.yaml 文件并添加以下内容

# config/routes/storyblok.yaml
storyblok:
    # loads routes from the given routing file stored in some bundle
    resource: '@StoryblokBundle/Resources/config/routes.yaml'