Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paper-menu not working #5

Open
dragGH102 opened this issue Sep 21, 2015 · 3 comments
Open

paper-menu not working #5

dragGH102 opened this issue Sep 21, 2015 · 3 comments

Comments

@dragGH102
Copy link

paper-menu is included in the bower_components folder which is created the first time I run your example (which works fine).

However if I try to add a with 2 inner items, as shown on https://elements.polymer-project.org/elements/paper-menu , nothing is rendered (in Chrome DevTools' console I can see the plain HTML as I wrote it).

I also tried to create a custom element (public/components/custom-paper-menu) containing only the paper-menu itself and putting in music.html but I get the same result.

Here is how I defined the custom element:

<dom-module id="custom-paper-menu">
    <template>
        <paper-menu>
            <paper-item>Item 1</paper-item>
            <paper-item>Item 2</paper-item>
        </paper-menu>
    </template>
</dom-module>

<script>
    Polymer({
        is: 'custom-paper-menu',
        behaviors: [ Polymer.IronMenuBehavior ],
        properties: {
        }
    });
</script>

EDIT: also refuses to run on Android (I think it's app related because I've built other app successfully these days)

[aapt] ERROR: unable to process assets while packaging '/home/manuel/__DEV/_test/meteor-polymer-music/.meteor/local/cordova-build/platforms/android/ant-build/CordovaApp.ap'

@atoy40
Copy link
Owner

atoy40 commented Sep 22, 2015

May be it's as simple as a browser caching problem. By default, meteor set public files to never expires. So, don't forget to check "disable cache" in the network tab of the chrome dev tools (it's only active when the dev tools is open, so don't be afraid to check it)
Anthony

@dragGH102
Copy link
Author

@atoy40 I tried that. I confirm the same issue.
If you want I can provide a fork / source code for you to review. just let me know how

@atoy40
Copy link
Owner

atoy40 commented Oct 2, 2015

Create a fork of this repo in your github account, clone/modify/push it .. then i'll clone it to test.

Anthony.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants