integrate vue cateditor with django
This commit is contained in:
@ -1,8 +1,29 @@
|
||||
{% extends 'base.html' %}
|
||||
{% load staticfiles i18n %}
|
||||
{% load staticfiles %}
|
||||
{% load render_bundle from webpack_loader %}
|
||||
|
||||
{% block title %}{% trans "Editor"%}{% endblock %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link href="{% static 'img/favicon.ico' %}" rel="shortcut icon" />
|
||||
<title>Django Vue Integration</title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons">
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but frontend doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
|
||||
{% block content %}
|
||||
<div id="app">
|
||||
<app></app>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% render_bundle 'app' %}
|
||||
|
||||
<!-- built files will be auto injected -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user