Skip to content

Conversation

@patricklx
Copy link
Contributor

@patricklx patricklx commented Oct 16, 2024

function test() {
  return 'test';
}

let Test = <template>
  {{@x}}
</template>

function myHelper(v) {
  return v + ' more'
}


let MyTemplateOnly = <template>
  Hello World from Template Only Component
  {{#let 1 test as |_ x|}}
    <Test @x={{(myHelper (x))}}/>
  {{/let}}
  {{yield to='outlet'}}
</template>

image

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

Successfully merging this pull request may close these issues.

1 participant