Search code examples
htmlpolymer

Polymer HTML Imports Deprecated


So I've just got started with polymer and got this message:

[Deprecation] Styling master document from stylesheets defined in HTML Imports 
is deprecated, and is planned to be removed in M65, around March 2018. Please 
refer to ....... for possible migration paths.

After doing some reading it seems to be that

<link rel="import" href="/SOR/bower_components/paper-input/paper-input.html">

Was causing the issue and rel=import for html was being deprecated. Is this right? If so what is the fix, how should I be doing this?

Cheers


Solution

  • The issue has actually been solved by the polymer team, as described on their blog

    So versions 1.10.1 or newer for 1.x and 2.1.1 or newer for 2.x are ok, however the warning doesn't go away (see blog entry for more details).

    I also tested a polymer 2.6 app on Chromium 65 and on chrome 67 beta and it works fine everywhere :)