承接 swiftotter/disable-template-validation 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

swiftotter/disable-template-validation

Composer 安装命令:

composer require swiftotter/disable-template-validation

包简介

N/A

README 文档

README

Credits go to Alan Storm (@astorm)

Magento 2 does not allow symlinked files. This is a security feature. However for some development environments (like ours at SwiftOtter) this can cause issues as we really like keep our files completely separate from Magento (so we don't accidentally mix some core code into the website repository). This also keeps the .gitignore to a minimum.

To solve this, Alan Storm posted this article. It, as usual, is an excellent read.

That said, if you want to take this even a step easier, just use this module:

  • composer require swiftotter/disable-template-validation --dev
  • php bin/magento module:enable SwiftOtter_DisableTemplateValidation
  • php bin/magento setup:upgrade

Notes:

  • This only runs if the deploy mode is set to development.
  • Be aware of the fact that installing the module in the dev composer area means that it isn't installed on production sites (as I hope you are installing composer there with --no-dev). Depending on how you get code to production, and if you track all of Magento in your repository, you may have some issues with modules not being found.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2017-01-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固