定制 pith-front/pith-pack-src-fallback 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

pith-front/pith-pack-src-fallback

最新稳定版本:0.1.1

Composer 安装命令:

composer require pith-front/pith-pack-src-fallback

包简介

Pack resource fallback libraries

README 文档

README

Pack resource fallback libraries for Pith

About

This project packs resource fallback libraries so that they can be used with the Pith Framework.

For info about MutationObserver, see the Git repo at https://github.com/megawac/MutationObserver.js.

For info about sri-fallback, see the Git repo at https://github.com/cyph/sri-fallback.

For info on Pith, see the Pith website at https://pith-framework.org/

Install

Install to an existing Pith Framework project

Use Composer to install pack to the vendor folder.

php composer.phar require pith-front/pith-pack-src-fallback

Add new route to your Route List:

public array $routes = [
    // Other routes....
    // ...
    
    // Add route to call src fallback resources from
    ['route', 'GET', '/resources/vendor/library/src-fallback/{filepath:.+}', '\\PithFront\\PithPackSrcFallback\\SrcFallbackResourceRoute'],
];

Licensing Info

pith-pack-src-fallback contains MutationObserver and sri-fallback.

MutationObserver

sri-fallback

pith-pack-src-fallback

Thanks!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-17