Skip to content

Instantly share code, notes, and snippets.

@egoist
Last active March 18, 2017 07:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egoist/f4f590a1e9d4a0afc2d62eae6db8789f to your computer and use it in GitHub Desktop.
Save egoist/f4f590a1e9d4a0afc2d62eae6db8789f to your computer and use it in GitHub Desktop.
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