Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

The theme does not work in the Bedrock project #112

Open
Sergey98Am opened this issue May 23, 2024 · 5 comments
Open

The theme does not work in the Bedrock project #112

Sergey98Am opened this issue May 23, 2024 · 5 comments

Comments

@Sergey98Am
Copy link

I have a WordPress Bedrock project, but this theme does not work there. In another WordPress project without Bedrock, it is working.

image (6)

I get these style.css and script.min.js 404 errors.

Screenshot from 2024-05-23 18-32-44

Is there a way to use this theme in the Bedrock project?

@gregsullivan
Copy link
Owner

Hi Sergey—Thanks for posting this!

I've never used Bedrock before, so I can't confirm one way or another. I don't remember hearing from anyone saying they were using it with _tw.

Can you confirm that you've run npm run dev (or watch or prod)? I just want to confirm the script.min.js and style.css files have definitely been created.

Barring that, I would need to set up Bedrock and see what I found during that process. I won't have time to do that in the immediate future, but I can keep this open and make an attempt when possible!

@Sergey98Am
Copy link
Author

@gregsullivan. Yes, I have run these commands, there are script.min.js and style.css files

Screenshot from 2024-05-24 14-30-01

@gregsullivan
Copy link
Owner

Great, thank you! I'll try to get Bedrock set up locally, and I'll note anything I find here.

@Sergey98Am
Copy link
Author

Thanks in advance

@kyle-cyberprairie
Copy link

@Sergey98Am is this because of the file structure? I am using _tw with Bedrock and it is working for me. I had to set a symlink for my theme, so /my-theme exists on the project root, which web/app/themes/my-theme points to.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants