承接 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!

统计信息

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

GitHub 信息

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

其他信息

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