polymer-3.x

Paper element import not working in python

这一生的挚爱 提交于 2019-12-01 22:28:45
Paper elements are not able to import in python-django environment, and an import error arises Uncaught TypeError: Failed to resolve module specifier "@polymer/polymer/polymer-legacy.js". Relative references must start with either "/", "./", or "../". I've tried to build the same project using polymer build still there is no improvement. I've placed the polymer components inside a static folder in an app My project -> App-> static -> polymer files Environment details: OS: ubuntu 18.04 Lang: python 3.6- django 1.11 polymer version: 3 The error is from the js files present in the node_modules