You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to apply the "Using Polymer Elements in Angular CLI Webpack" tuto,
on 1.0.0-beta.11-webpack.8 without success on Firefox.
But the trick is here : angular/angular-cli#1747
The polyfill <script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
has to be call in global in angular-cli.json and not in index.html anymore
The text was updated successfully, but these errors were encountered:
First of all thank you for your answer and sorry if my english is bad.
As i said in my comment i followed the "Using Polymer Elements in Angular CLI Webpack" tuto that i found in #57 but it doesn't work anymore on the last angular-cli version.
Actually, the issue with Firefox is that the polyfill is not loaded, and turn to a Polymer.Settings is undefined
This one : angular/angular-cli#1747 is about javascript libraries which need to be added to the global scope, and loaded as if they were in a script tag.
This trick make the polyfill load successfully
There is no other issues with html import.
I tried to apply the "Using Polymer Elements in Angular CLI Webpack" tuto,
on 1.0.0-beta.11-webpack.8 without success on Firefox.
But the trick is here : angular/angular-cli#1747
The polyfill
<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
has to be call in global in angular-cli.json and not in index.html anymore
The text was updated successfully, but these errors were encountered: