JQuery UI Example


#1

Is there an example of how to use a JQuery component (e.g. a portlet) with Meteor? Essentially I would like to replace the list of tasks in the todo tutorial with a list of portlets (one per task). Thanks in advance, -Duncan.


#2

I have this working now, but I find I need to include links to jquery-ui at the start as my script doesn’t seem to find the meteor installed one. Basic stuff, but is there something I need to do to make sure it’s found?
i.e. I still need,



even though I have...
Duncans-iMac:MyLC Duncan$ meteor list
[...]
glasser:jqueryui      2.0.0  Simple lightweight pull-in for jQuery UI in Meteor
jquery                1.11.4  Manipulate the DOM using CSS selectors
[...]
e.g. I'm missing something obvious I think...

  

  
   Todo List


  

Todo List

  <form class="new-task">
    <input type="text" name="text" placeholder="Type to add new tasks" />
  </form>
</header>

<ul>
  {{#each tasks}}
    {{> task}}
  {{/each}}
</ul>
  • {{text}}
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit ×