devloco / create-react-wptheme

Create modern, React-enabled WordPress themes with a single command.
MIT License
359 stars 60 forks source link

Deploying theme to server has blank page #32

Closed ShrkBnk closed 4 years ago

ShrkBnk commented 4 years ago

In development server (localhost) everything works fine. But after npm run build get folder that I deploy to wordrpess server. It appears in theme section I can choose it, but it appears only blank page with some errors:

devloco commented 4 years ago

I saw you closed this, but just wanted to be sure you got it working. I'm guessing you had different root paths in Dev and Prod...? And you found the instructions...?

Dealing With Differing Paths Between DEV and PROD

ShrkBnk commented 4 years ago

Yes , I got it working, I had different root path in Dev and Prod. Thanks.