I think I found the issue. In your element's metadata.html, move the import
underneath the element stub.

ex:

<x-meta id="my-element-template" label="Template" group="My Elements">
  <template>
    <div style="width: 200px; height: 200px; background: red;"></div>
  </template>

  <template id="imports">
    <link rel="import" href="my-element-template.html">
  </template>
</x-meta>

I filed an issue for this: https://github.com/Polymer/designer/issues/59


On Thu, Jul 24, 2014 at 6:04 AM, Keith Garrod <[email protected]> wrote:

> I am still having a problem with this. Although my element appears
> correctly in the palette, it doesn't show on the canvas if I drag it there. 
> I've
> published my code, with a simple element in it here:
> https://github.com/kpgarrod/my-shared-polymer-element
> <https://github.com/kpgarrod/my-shared-polymer-elements>s.
>
> What am I missing now?
>
> Thanks,
>
> Keith
>
>
>
> On Tuesday, July 22, 2014 6:41:13 PM UTC+2, Keith Garrod wrote:
>
>> I am trying to create a collection of elements that can be shared between
>> multiple private projects.
>>
>> I want to include testing (polymer-test-tools) and to use my own
>> components in Polymer designer. I am finding it challenging to set up a
>> directory structure which supports private/shared elements and is
>> consistent with the existing toolset.
>>
>> The tooling seems to be geared towards creating a repository for each
>> element. That's all very well for public elements, but not so great for 
>> private/shared
>> elements. My private/shared collection will easily exceed 50 elements
>> (github large plan). Apart from anything else, that's $1/month/element,
>> which seems like a lot for hosting a few lines of code!
>>
>> I do understand that the tooling is nascent, but I am wildly excited
>> about the potential of Polymer for my project and would really appreciate
>> any pointers .
>>
>>  Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/d9a4d9f4-0182-4014-b497-36fe517a8395%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/d9a4d9f4-0182-4014-b497-36fe517a8395%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CAJj5OwB6qC8zZ33n8up9hanjNxg69XLY3rKJ8yey%2BsE7S-%3Dm-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to