Answer the question
In order to leave comments, you need to log in
How to organize the work of Polymer in Meteor?
Good day!
I want to use Polymer 1.2.3 for application layout . Based on the example of the NavListDetail application , an example of which can be viewed here .
If I use the tag <x-app></x-app>
in the main layout meteor of the application, everything is rendered and works for me, but {{> yield}} of the meteor does not work .. more precisely, I cannot pass the content that the router should draw in this template.
Tell me where to drop? I tried to get rid of <x-app>
it and put the whole layout directly into the layout, but now the question arose of how to write the js logic that was used in the x-app.
Answer the question
In order to leave comments, you need to log in
IMHO Polymer should be used with your own templates, separately from meteor ones.
To do this, you first need to install the package static-html
For reactivity, you can use this https://github.com/SPAHI4/PolymerMeteorBehavior
I advise you to look at https://github.com/HedCET/TorrentAlert
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question