rockiger
Forum Replies Created
-
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] Any freelancers here for hire?Hi there,
I could implement it, but only over the weekend because I am occupied during the week.
Drop me a message on [email protected] if you are interested.Best
MarcoForum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] NextJs compatible?Currently, there is no support for Nextjs. I would say Vite would be next in line.
I wonder how Nextjs support would look like, as Nextjs is a fullstack framework that needs Nodejs on the server.
Can you create a React app without ReactPress? Did you test that?
Unfortunately, I have no idea, how I can help you ??
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] error on installIs
allow_url_fopen
set to on or to1
? I googled the problem and it seems you need to addallow_url_fopen=1
to yourphp.ini
.If that doesn’t help, it seems that your server can’t use file_get_contents. As it seems to be disabled on another level.
What server do you use? Is this a dev system?
- This reply was modified 2 years, 3 months ago by rockiger.
The deprecation warnings have nothing to do with ReactPress. This is part of your React dev environment. How did you create your app?
Sorry, I didn’t see your question before. I answered you SO question.
Just to be sure. You can’t use ReactRouter with clean URLs on your root path(‘/’). Then you would have any WordPress site anymore. You can always fall back on the
<HashRouter>
component for that.It seems that ReactPress couldn’t download the WP page with the slug. Did you try to click on “Update Dev-Environment”?
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] Changing domain nameI don’t see how the domain name plays any role for your React app. This is part of your WordPress installation.
If you mean the window title. You can change it like with any other React app.
I hope this clears things up.
Best
MarcoForum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] GEt an errorIt is in the documentation. Did you look at system requirements? It is mentioned on the plugin page and in the documentation.
Some people have success with Windows, some not. Unfortunately, I don’t have a Windows machine, so I can’t replicate the problem.
Usually, using LocalWP works.
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] GEt an errorUnfortunately, Windows is not supported. You can however use LocalWP, which uses a VM on Windows.
Hey Michael,
ReactPress isn’t looking into this directory. It was in older version, but this deletes the React app, if somebody is deleting or updating ReactPress.
It would be an interesting feature, to have an option to export the app as a Plugin for redistribution.
I will think about it and add to the backlog.
Meanwhile, I would recommend you the following article https://medium.com/swlh/wordpress-create-react-app-integration-30b41657b79e
This explains the process of creating a plugin with an React app.
Do you mind sharing your React app?
What environments are you using?
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] reactpress error directroyThx
Oh no, you need to install ReactPress on the live site, create a page there and create the same folder in your reactpress directory and push the build folder there.
Please refer to the documentation: https://rockiger.com/en/reactpress/getting-started/#deploy
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] reactpress error directroyGreat!
I can’t tell you why the included template makes problems. I never had this issue in my tests. If you care, you could write a bug report at: https://github.com/rockiger/reactpress/issues
To get the router working, refer to https://rockiger.com/en/reactpress/client-side-routing/. You probably have to set the
baseUrl
.