oliverde8 / comfy-sylius-admin-bundle

为sylius admin添加编辑comfy配置的接口。

1.0.0-alpha2 2022-10-06 12:00 UTC

This package is auto-updated.

Last update: 2024-09-06 16:02:31 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

此捆绑包向stripe添加编辑接口,以便管理员可以使用comfy捆绑包配置他们的网站。

请检查Comfy捆绑包文档此处

要求

安装

  • 将Sylius UI配置添加到您的应用程序中(config/packages/comfy_sylius_admin.yml
imports:
    - { resource: "@oliverde8ComfySyliusAdminBundle/Resources/config/sylius_ui.yml" }
  • 将路由添加到您的应用程序中(config/routes/comfy_sylius_admin.yml
comfy_bundle:
    resource: '@oliverde8ComfySyliusAdminBundle/Controller'
    type: annotation
    prefix: /admin
  • 迁移

使用迁移功能添加comfy配置表。

  • 向Admin添加JS和CSS assets/admin/entry.js
import '../../bundles/oliverde8/ComfySyliusAdminBundle/Resources/private/entry';