winter/wn-workshop-theme
Composer 安装命令:
composer require --dev winter/wn-workshop-theme
包简介
TailwindCSS-built theme for testing core plugins
README 文档
README
The Workshop Theme is a simple theme built on Tailwind CSS that aims to be a testbed for the core Winter CMS plugins.
The theme tests the following plugins:
And tests the following concepts:
- The Snowboard JavaScript framework
- Inline component code
- Theme-based component template overrides
Requirements
- Winter CMS 1.1.8 or above.
- NodeJS 12 or above, if you wish to style the theme.
Development
The theme is built on Tailwind CSS, which is built using the NodeJS framework. To be able to compile any changes made to the styling or content, you must use the Mix commands that are included with Winter CMS 1.1.8.
You must first install the Node dependencies required for the theme.
php artisan mix:install -p theme-workshop
Then, to compile the Tailwind CSS styles for development, run the following command in the root folder of the project:
php artisan mix:compile -p theme-workshop
To compile the Tailwind CSS styles for production (which should be done if you commit any changes to the Workshop theme), you must add the --production flag to the above command:
php artisan mix:compile -p theme-workshop --production
To make it easy to develop the theme, you can also watch the necessary template and stylesheet files for any changes:
php artisan mix:watch theme-workshop
winter/wn-workshop-theme 适用场景与选型建议
winter/wn-workshop-theme 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 733 次下载、GitHub Stars 达 11, 最近一次更新时间为 2021 年 09 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「testing」 「plugin」 「theme」 「workshop」 「winter」 「winter cms」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 winter/wn-workshop-theme 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 winter/wn-workshop-theme 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 winter/wn-workshop-theme 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Testing Suite For Lumen like Laravel does.
The PHP SDK for Checkmango
A Bootstrap 4.x base theme for SilverStripe
Lucency Theme
Selectize Theme for Bootstrap 4
统计信息
- 总下载量: 733
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-01