Is there a way to use `gts` components for the examples? I've tried doing this, but I get runtime errors. My example component (`menu-default.gts`) for the docs: ```handlebars // BEGIN-SNIPPET docs-menu-default.gts import Component from '@glimmer/component'; import UiMenu from '@onwardcare/ui-components/components/ui-menu'; import UiPortalTargets from '@onwardcare/ui-components/components/ui-portal-targets'; import DocsDemo from 'ember-cli-addon-docs/components/docs-demo'; interface Signature { Element: null; } export default class MenuDefault extends Component<Signature> { <template> <DocsDemo as |demo|> <demo.example @name='docs-menu-default.gts'> <UiPortalTargets /> <UiMenu as |menu|> <menu.Trigger>Open Menu</menu.Trigger> <menu.Content as |content|> <content.Item>Item 1</content.Item> <content.Item>Item 2</content.Item> </menu.Content> </UiMenu> </demo.example> <demo.snippet @name='docs-menu-default.gts' /> </DocsDemo> </template> } // END-SNIPPET ``` The runtime error I receive: <img width="603" height="225" alt="Image" src="https://github.com/user-attachments/assets/33a1c8a8-e53c-4473-9773-a7bd27222eae" />
Activity
RobbieTheWagner commentedon Feb 3, 2026
My guess is addon docs does not support gjs/gts. I do not really know how the internals work.
gkappen commentedon Oct 30, 2026
We had some tokens to burn and this was one of our main issues...
I have opened a Pull Request that adds support for
gtsandgjssnippets: #1713