achttienvijftien/wp-turbo 问题修复 & 功能扩展

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

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

achttienvijftien/wp-turbo

Composer 安装命令:

composer require achttienvijftien/wp-turbo

包简介

Symfony UX Turbo for WordPress: the installable mu-plugin carrying the frontend (JS runtime, asset enqueue) on top of achttienvijftien/wp-turbo-bundle

README 文档

README

The default Turbo runtime carrier for achttienvijftien/wp-turbo-bundle: an mu-plugin that serves the Turbo JS (built via webpack, Drive disabled) and conditionally enqueues it.

It registers the wp-turbo-runtime script from its webpack manifest and enqueues it when the bundle announces a printed frame placeholder through the wp_turbo/frame_placeholder action — so the script only ships on pages that actually use Turbo. The carrier is replaceable: a theme that bundles its own Turbo runtime takes over by listening to the same action, and this package simply isn't installed.

WordPress projects require this package alongside the bundles:

  • achttienvijftien/wp-turbo-bundle: the Symfony bundle (UX Turbo + TwigComponent on the 1815 service container, /_turbo routing, frame contexts and helpers)
  • achttienvijftien/wp-twig-bundle: the generic Twig bridge (host-owned environment, Timber adapter)

Everything self-registers through composer autoload and the container filters. No activation, no config edits.

Development

nvm use && pnpm install
pnpm build           # webpack → dist/ (committed; consumers don't build)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-06-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固