Здравствуйте, уважаемые, возможно кто-то из вас пробовал склеить эти две штуки вместе. Материалов по этой теме мало и собственно вопрос: не могу подключить сам Polymer к Django.
{% load staticfiles %}
<!doctype html>
<html>
<head>
<title>core-scaffold</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<script src="{% static 'bower_components/platform/platform.js' %}"></script>
<link rel="import" href="{% static 'bower_components/core-scaffold/core-scaffold.html' %}">
<link rel="import" href="{% static 'bower_components/core-header-panel/core-header-panel.html' %}">
<link rel="import" href="{% static 'bower_components/core-menu/core-menu.html' %}">
<link rel="import" href="{% static 'bower_components/core-item/core-item.html' %}">
</head>
<body unresolved>
<core-scaffold>
<core-header-panel navigation flex mode="seamed">
<core-toolbar style="background-color: #526E9C; color: #fff;">Application</core-toolbar>
<core-menu>
<core-item icon="settings" label="item1"></core-item>
<core-item icon="settings" label="item2"></core-item>
</core-menu>
</core-header-panel>
<div tool>Title</div>
<div class="content">Content goes here...</div>
</core-scaffold>
</body>
</html>
Этот код для примера я свиснул Тут и немного переделал под себя. Приложение видит все кроме этого, почему так получается - понять не могу. Все файлы лежат в папке App/static, там же у меня и bootstrap, который я не снес, но если загружаю страницу с ним - все работает. Тут упорно получаю 404 и хоть под землю провались. Все компоненты установлены через bower и проверенны лично
Updated 9 Aug. 2016, 19:56 by symstu.