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
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-06-12