rockiger
Forum Replies Created
-
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] “no options” on add pageGreat, thanks
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] Vite-appAny non block-based theme should work with ReactPress. Hope this helps.
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] CORSSure, it’s an normal React app, that can use any API available. Only the React app itself needs to be hosted in youin yourr in your WordPress environment. That is the main point of the plugin.
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] CORSNo, it is not supported, I was just wondering.
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] Vite-appWhat theme do you use? One with fse enabled. Try an older theme without fse.
The block in the editor is needed. Did you build the app?Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] CORSThis is a WordPress-specific issue. Depending on how you authenticate to the WordPress-API and your server configuration.
Do you host ReactPress and WordPress on the same domain? I remember that there is a plugin for disabling CORS in WordPress, but it is not hosting in the plugin directory.I looked into it. It seems you need to delete the
dist
folder. Otherwise, it can happen that the wrong distribution file from the Vite build is read.Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] reactPress not defined@juust Thanks for posting this. I have unfortunately now Windows system where I can debug problems.
A casual solution would be to a set the
reactPress
var by hand in theindex.html
. The drawback of this approach is, that you have to repeat it every time you update the the dev environment from ReactPress.Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] Proxy-Server?Vite works now. If you follow the docs.
You can’t send attachments as far as I know.
But the last link worked. The screenshot shows the last version of ReactPress, if I am not mistaken. I meant a screenshot of the new version.
Alternatively, you could send me your build app and I would try to debug it. If that works for you. You can find my mail address on my homepage.
That is what I see:
Error 1011Ray ID: 7d01eabe19fa382e ? 2023-05-31 20:20:20 UTC
Access denied
What happened?
The owner of this website (www.thx.com) does not allow hotlinking to that resource (/wp-content/uploads/2023/05/05-31-reactpress-admin-thx-media-player-screenshot.jpg).
You re-build the app. I don’t see why this should be any different from an app created with CRA.
What do you mean with local machine? A WordPress dev environment, or do you mean your React dev server?
You can’t just use some existing React app to deploy. You need to use the whole ReactPress workflow. https://rockiger.com/en/reactpress/getting-started/
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] Small error in tutorialThanks.