Paper 元素无法在 python-django 环境中导入,并且
出现导入错误
Uncaught TypeError: Failed to resolve module specifier "@polymer/polymer/polymer-legacy.js". Relative references must start with either "/", "./", or "../".
我尝试使用构建相同的项目polymer build
仍然没有任何改善。
我已将聚合物组件放置在应用程序的静态文件夹中My project -> App-> static -> polymer files
环境详情:
OS: ubuntu 18.04
Lang: python 3.6- django 1.11
polymer version: 3
该错误来自 node_modules 文件夹中存在的 js 文件,该文件夹是聚合物项目的一部分
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)