Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Alternative multiple block setup #3

Open
Wtower opened this issue Apr 17, 2023 · 0 comments
Open

Alternative multiple block setup #3

Wtower opened this issue Apr 17, 2023 · 0 comments

Comments

@Wtower
Copy link

Wtower commented Apr 17, 2023

Hello and thank you for your excellent walkthrough for having multiple blocks in a single plugin. It certainly helped me understand better the block API.

It occurred to me that it is possible to place all blocks under the src/ folder. That way, we avoid having multiple build scripts running for each block. We only have to register them all in the plugin php file.

This addresses issue #2 .

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

No branches or pull requests

1 participant