mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-06 22:58:19 -05:00
cleanup vue debug settings
This commit is contained in:
13
cookbook/templates/include/vue_base.html
Normal file
13
cookbook/templates/include/vue_base.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% load static %}
|
||||
{% load custom_tags %}
|
||||
|
||||
{% is_debug as DEBUG %}
|
||||
{% if DEBUG %}
|
||||
<script src="{% static 'js/vue.js' %}"></script>
|
||||
{% else %}
|
||||
<script src="{% static 'js/vue.min.js' %}"></script>
|
||||
{% endif %}
|
||||
|
||||
<script src="{% static 'js/vue-resource.js' %}"></script>
|
||||
|
||||
<script src="{% static 'js/js.cookie.min.js' %}"></script>
|
||||
@@ -6,13 +6,8 @@
|
||||
|
||||
{% block extra_head %}
|
||||
|
||||
{% if DEBUG %}
|
||||
<script src="{% static 'js/vue.js' %}"></script>
|
||||
{% else %}
|
||||
<script src="{% static 'js/vue.min.js' %}"></script>
|
||||
{% endif %}
|
||||
{% include 'include/vue_base.html' %}
|
||||
|
||||
<script src="{% static 'js/vue-resource.js' %}"></script>
|
||||
<script src="{% static 'js/moment-with-locales.min.js' %}"></script>
|
||||
|
||||
<script src="{% static 'js/Sortable.min.js' %}"></script>
|
||||
|
||||
10
cookbook/templates/url_import.html
Normal file
10
cookbook/templates/url_import.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>$Title$</title>
|
||||
</head>
|
||||
<body>
|
||||
$END$
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user