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

Look into a terminal script to auto create blocks #129

Open
nathan-schmidt-viget opened this issue Jul 19, 2024 · 0 comments
Open

Look into a terminal script to auto create blocks #129

nathan-schmidt-viget opened this issue Jul 19, 2024 · 0 comments
Assignees

Comments

@nathan-schmidt-viget
Copy link
Contributor

Instead of creating blocks from scratch or copying another block and updating it. It would be nice to run a command and get the base default block files:

  • render.twig
  • block.json
  • style.css
  • maybe block.php

Few ideas that could work:
Hygen - https://css-tricks.com/file-scaffolding-with-hygen/
Turborepo - https://plopjs.com/

@nathan-schmidt-viget nathan-schmidt-viget self-assigned this Jul 26, 2024
nathan-schmidt-viget added a commit that referenced this issue Jul 30, 2024
* [#129] Setting up the base templates

* [#129] Adding styles and variations

* [#129] Adding new block css to main.css - refactor

* [#129] Refactoring the append tags

* [#129] Adding block pattern and theme slugs

* [#129] Fixing pattern template

* [#129] Moving custom block css to it own file - cleanup
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