
內容簡介
ReactPress 讓你可以輕鬆地創建、構建和部署 React 應用程序到現有的 WordPress 網站。使用你的 React 知識為你的 WordPress 客戶創建單頁應用程序。
只需幾秒鐘即可開始,並以你的 WordPress 主題為基礎開發你的 React 應用程序,並即時獲得反饋。
將 WordPress 的靈活性和 React 的 UI 功能相結合,並將 create-react-app 無縫集成到你的 WordPress 項目中,從而為下一個 SaaS 項目做好準備。
ReactPress 有 3 個功能:
它將你的本地 dev server 集成到你的 WordPress 主題中,這樣你可以即時獲得反饋,查看你的 React 應用程序在 WordPress 網站上的呈現效果。
它以可用於你的 WordPress 網站的方式構建你的 React 應用程序。
它使得在構建後輕鬆上傳你的應用程序到實時服務器成為可能。
功能
應用程序開發期間的快速刷新
開發過程中與 WordPress 集成
輕鬆部署到你的現場網站
客戶端路由
零配置
TypeScript 支持
鏈接
網站
入門指南
深入理解 React with WordPress 教程
常見問題
開發
系統要求
要開發 React 應用程序,你的 WordPress 實例需要訪問:
PHP 函数 file_get_contents 的訪問權限。一些託管提供商會禁用 fopen,沒有 file_get_contents 則無法運行,因此在開發和生產系統上都需要訪問 file_get_contents!
POSIX 兼容系統,Windows 支持屬於實驗功能。(作為替代,Windows 用戶可以使用 WSL2)
外掛標籤
開發者團隊
② 後台搜尋「ReactPress – Create React App for WordPress」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
ReactPress enables you to easily create, build and deploy React apps into your existing WordPress sites. Use your React knowledge to create single page applications for your WordPress customers.
Get started in seconds and develop your React app with instant feedback and your WordPress theme in mind.
Combine the flexibility of WordPress with the UI capabilities of React and seamlessly integrate create-react-app into your WordPress project for your next SaaS.
ReactPress does 3 things:
It integrates your local dev server into your WordPress theme, that you have instant feedback, how your React app looks in the context of your WordPress website.
It builds your React app in a way that it is usable from your WordPress site.
It makes it easy to upload your app to a live server after building.
Features
Fast refresh during app development
WordPress integration during development
Easy deploy to your live site
client-side routing
zero-config
TypeScript support
Links
Website
Getting Started
In depth React with WordPress Tutorial
FAQ
Development
System Requirements
To develop React apps your WordPress instance needs access to:
Access to the PHP function file_get_contents. Some hosting providers deactivate fopen on which file_get_contents depends. Access to file_get_contents is neccessary on your dev and your live system!
POSIX compatible system, Windows support is experimental. (Alternatively Windows users can use WSL2)
