Closed SiddiqueAhmad closed 8 years ago
What version of Aurelia were you using? Recent versions stopped using HTMLImport, which could be part of the problem.
Recent version On 22 Oct 2015 7:09 pm, "Ben Navetta" notifications@github.com wrote:
What version of Aurelia were you using? Recent versions stopped using HTMLImport, which could be part of the problem.
— Reply to this email directly or view it on GitHub https://github.com/roguePanda/aurelia-polymer/issues/1#issuecomment-150236002 .
I haven't really tested it with the new version, but that's issue #2, and I'm taking a look at if the WebComponents polyfill is needed with the latest version of Aurelia and its HTMLImport plugin.
Okay thank you I will wait
I released a new 1.0.0-beta.2 version of the plugin a few days ago that should work with the latest Aurelia beta. Polymer needs to be loaded before Aurelia so that the plugin can hook into its registration lifecycle, which might be the problem here. I have some rough docs here that might help as well
@roguePanda I think this issue should be closed
i did as said in readme, but getting following error, let me know if you need more info on it
https://github.com/roguePanda/aurelia-polymer/blob/master/src/index.js#L36 this line has that undefined Polymer variable
Unhandled promise rejection ReferenceError: Polymer is not defined at r.configure (http://localhost:9000/jspm_packages/github/roguePanda/aurelia-polymer@0.1.0/index.js:44:25) at http://localhost:9000/jspm_packages/github/aurelia/framework@0.17.0/aurelia-framework.js:34:34 at f (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1415:56) at http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1423:13 at b.exports (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:453:24) at b.(anonymous function) (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1625:11) at Number.f (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1596:24) at q (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1600:11)(anonymous function) @ shim.min.js:1444b.exports @ shim.min.js:453b.(anonymous function) @ shim.min.js:1625f @ shim.min.js:1596q @ shim.min.js:1600 shim.min.js:1444 Unhandled promise rejection ReferenceError: Polymer is not defined(…)(anonymous function) @ shim.min.js:1444b.exports @ shim.min.js:453b.(anonymous function) @ shim.min.js:1625f @ shim.min.js:1596q @ shim.min.js:1600