# Register block methods & how to enqueue block assets?

**URL:** https://discourse.roots.io/t/register-block-methods-how-to-enqueue-block-assets/27058
**Category:** sage
**Tags:** gutenberg, bud, sage10
**Created:** 2024-04-26T08:01:04Z
**Posts:** 9
**Showing post:** 9 of 9

## Post 9 by @jasperfrumau — 2024-08-14T06:39:32Z

I know this is old but I am also working on adding a block using Poet @Twansparant . See [Sage 10 + Poet block - Not loading](https://discourse.roots.io/t/sage-10-poet-block-not-loading/27893) . It seems I need to add `edit.js` and `edit.css` for my block , but I am not clear on how. I could add these to

- `resources/scripts/editor.js`
- `resources/styles/editor.css`

but I assume we do a separate JS at least as well as a save.js per block. How did you add these to your theme?

---

_[View the full topic](https://discourse.roots.io/t/register-block-methods-how-to-enqueue-block-assets/27058)._
