<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>框架整合 on BenzHub</title><link>https://benzhub.github.io/tags/%E6%A1%86%E6%9E%B6%E6%95%B4%E5%90%88/</link><description>Recent content in 框架整合 on BenzHub</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Mon, 14 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://benzhub.github.io/tags/%E6%A1%86%E6%9E%B6%E6%95%B4%E5%90%88/index.xml" rel="self" type="application/rss+xml"/><item><title>框架整合:把 Next.js、React、Astro 部署到 Workers | Cloudflare 完整教學</title><link>https://benzhub.github.io/post/cloudflare/045-framework-integration/</link><pubDate>Mon, 14 Sep 2026 00:00:00 +0000</pubDate><guid>https://benzhub.github.io/post/cloudflare/045-framework-integration/</guid><description>&lt;blockquote&gt;
&lt;p&gt;這一篇要教你把主流前端框架部署到 &lt;strong&gt;Cloudflare Workers&lt;/strong&gt;。上一篇我們把 &lt;strong&gt;Workers Static Assets&lt;/strong&gt; 的 &lt;code&gt;assets&lt;/code&gt; 設定一行一行拆開來實作;這一篇就把這些設定套用到真實框架上——從 &lt;code&gt;create-cloudflare&lt;/code&gt;(&lt;strong&gt;C3&lt;/strong&gt;)起手,逐一看 &lt;strong&gt;Next.js&lt;/strong&gt;(&lt;code&gt;@opennextjs/cloudflare&lt;/code&gt;)、&lt;strong&gt;React&lt;/strong&gt;/Vite、&lt;strong&gt;Astro&lt;/strong&gt;、Remix、Hono 各自的整合方式與適配器(adapter),說清楚 &lt;strong&gt;SSR&lt;/strong&gt; 與靜態的差別,以及用錯 adapter、Node API 相容、edge runtime 這些常見坑。本篇也為整個 &lt;strong&gt;Pages&lt;/strong&gt; 段落作收尾。&lt;/p&gt;
&lt;/blockquote&gt;</description></item></channel></rss>