Create a gist now

Instantly share code, notes, and snippets.

@egoist /config.js
Last active Mar 18, 2017

What would you like to do?
docute post
docute.init({
nav: [{
path: '/get-started',
markdown: '**click** <button @click="count++">{{count}}</button>',
component: {
data: () => ({count: 0})
}
}]
})
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>docs</title>
<link rel="stylesheet" href="https://unpkg.com/docute@next/dist/docute.css">
</head>
<body>
<div id="app"></div>
<script src="https://unpkg.com/docute@next"></script>
<script src="config.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment