GitHunt
AL

alanning/accounts-ui-bug

accounts-ui-bug

Clone this repo then run meteor, you'll see:

Foo
Hello World!

Then edit .meteor/packages and change the package order from:

standard-app-packages
accounts-ui
use-templates

to

standard-app-packages
use-templates
accounts-ui

You'll see

Foo bar
Hello World!

Basically having accounts-ui before a package that uses templating, means templates in that package can't see their helpers.

In both cases, the helper is present on the client. Going to the console in the browser and typing:

Template.foo.bar()

shows

bar

Contributors

Created May 9, 2014
Updated March 20, 2020
alanning/accounts-ui-bug | GitHunt