twin-elements/form-extensions 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

twin-elements/form-extensions

最新稳定版本:v1.6.0

Composer 安装命令:

composer require twin-elements/form-extensions

包简介

Forms for CMS

README 文档

README

##Installation composer require twin-elements/form-extensions

in /config/packages/routes.yaml

filemanager_image:
    resource: "@TwinElementsFormExtensionsBundle/Controller/FileManagerImageController.php"
    prefix: /admin
    type: annotation
    requirements:
        _locale: '%app_locales%'
    defaults:
        _locale: '%locale%'
        _admin_locale: '%admin_locale%'
    options: { i18n: false }

in assets/admin/cropper.js add

import 'twin-elements/forms/resources/image-cropper-js';

in webpack.config.js

add const twinElementsFormScripts = path.resolve(__dirname, 'vendor/twin-elements/form-extensions/src/Resources/private/')

add .addEntry('cropper', './assets/admin/cropper.js') to admin config in webpack.config.js

add path aliases to admin config

adminConfig.resolve.alias['twin-elements/forms/resources'] = twinElementsFormScripts;
adminConfig.resolve.alias['root-dir'] = rootDir;

统计信息

  • 总下载量: 176
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-08-02