From 84783a988c435c5e50e81234b112792d088030d9 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Sat, 28 Oct 2017 00:38:47 +0800 Subject: [PATCH] feat: add pug example --- examples/markdownit/package.json | 3 ++- examples/markdownit/pages/about.vue | 2 +- examples/markdownit/pages/index.vue | 6 ++++-- examples/markdownit/pages/pug.vue | 17 +++++++++++++++++ 4 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 examples/markdownit/pages/pug.vue diff --git a/examples/markdownit/package.json b/examples/markdownit/package.json index fae0d3f7bb..76056fdcbb 100644 --- a/examples/markdownit/package.json +++ b/examples/markdownit/package.json @@ -3,7 +3,8 @@ "version": "1.0.0", "dependencies": { "@nuxtjs/markdownit": "^1.1.2", - "nuxt": "latest" + "nuxt": "latest", + "pug": "^2.0.0-rc.4" }, "scripts": { "dev": "nuxt", diff --git a/examples/markdownit/pages/about.vue b/examples/markdownit/pages/about.vue index 819feae465..aa487b80bb 100644 --- a/examples/markdownit/pages/about.vue +++ b/examples/markdownit/pages/about.vue @@ -1,5 +1,5 @@ -<