Skip to content

Instantly share code, notes, and snippets.

@danniehakan
danniehakan / test.html
Last active September 24, 2019 09:22
Django and Vue rendering
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="{% static 'css/app.css' %}">
<meta charset="utf-8">
<title>Django and Vue test</title>
</head>
<body>
import React from 'react'
import { FormattedMessage } from 'react-intl'
import { navigateTo } from 'gatsby-link'
import s from './index.module.sass'
var Dropzone
// This try catch is here because dropzone accesses the 'window' property, which is not accessible on the server side
try {