acoustep / ember-cli-foundation-6-sass

MIT License
64 stars 33 forks source link

Error: Assertion Failed: A helper named "zf-menu" could not be found #32

Closed graham-sportsmgmt closed 8 years ago

graham-sportsmgmt commented 8 years ago

I installed the package tonight using this syntax (no errors):

ember install ember-cli-foundation-6-sass

I get this error in the console:

Error: Assertion Failed: A helper named "zf-menu" could not be found

Here is my code in application.hbs:

  {{#zf-menu}}
    <ul class="menu">
      <li class="menu=text"><em>Site Title</em></li>
      <li>
        {{#link-to 'index'}}
          Home
        {{/link-to}}
      </li>
      <li>
        {{#link-to 'administration'}}
          Administration
        {{/link-to}}
      </li>
      <li>
        {{#link-to 'performance'}}
          Performance
        {{/link-to}}
      </li>
    </ul>
  {{/zf-menu}}
graham-sportsmgmt commented 8 years ago

I was browsing through the source code and saw that menu is not included. When I first read this sentence I was expecting all of the components to be part of this library, but I see my error now (menu doesn't require JavaScript therefore is out of scope)

All of the Foundation components which require Javascript have been turned into Ember components.