Can I use routeAction in glimmer single-file components?

In a glimmer component, I believe you don’t need the helper. You can do this directly:

{{on "click" this.showLogin}}

If you need to pass arguments:

{{on "click" (fn this.showLogin <argument>)}}

It will look for the action:

@action
showLogin(<argument>, event) {}