From a076cea6049c232ef75db2a97e855f9bf728a4cd Mon Sep 17 00:00:00 2001 From: Evan You Date: Sat, 14 Apr 2018 00:44:55 -0400 Subject: [PATCH 01/17] typo --- docs/guide/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/README.md b/docs/guide/README.md index 89a2b197a5..663ddd9451 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -6,7 +6,7 @@ Each page generated by VuePress has its own pre-rendered static HTML, providing ## How It Works -A VuePress site is in fact a powered by [Vue](http://vuejs.org/), [Vue Router](https://github.com/vuejs/vue-router) and [webpack](http://webpack.js.org/). If you've used Vue before, you will notice the familiar development experience when you are writing or developing custom themes (you can even use Vue DevTools to debug your custom theme!). +A VuePress site is in fact an SPA powered by [Vue](http://vuejs.org/), [Vue Router](https://github.com/vuejs/vue-router) and [webpack](http://webpack.js.org/). If you've used Vue before, you will notice the familiar development experience when you are writing or developing custom themes (you can even use Vue DevTools to debug your custom theme!). During the build, we create a server-rendered version of the app and render the corresponding HTML by virtually visiting each route. This approach is inspired by [Nuxt](https://nuxtjs.org/)'s `nuxt generate` command and other projects like [Gatsby](https://www.gatsbyjs.org/). From 21f9a94c0db9bd02f097330e03bf5e206cdbefd5 Mon Sep 17 00:00:00 2001 From: Evan You Date: Sat, 14 Apr 2018 00:48:30 -0400 Subject: [PATCH 02/17] yaml highlight --- docs/guide/markdown.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/markdown.md b/docs/guide/markdown.md index 27880ff026..372c4b1313 100644 --- a/docs/guide/markdown.md +++ b/docs/guide/markdown.md @@ -26,7 +26,7 @@ Headers automatically get anchor links applied. Rendering of anchors can be conf [YAML front matter](https://jekyllrb.com/docs/frontmatter/) is supported out of the box: -``` +``` yaml --- title: Blogging Like a Hacker lang: en-US @@ -37,7 +37,7 @@ The data will be available to the rest of the page, plus all custom and theming `title` and `lang` will be automatically set on the current page. In addition you can specify extra meta tags to be injected: -``` +``` yaml --- meta: - name: description From 641519d96914681355dd3219fbe2b4686a664757 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sat, 14 Apr 2018 14:56:08 +0200 Subject: [PATCH 03/17] docs(typo): cases (#15) --- docs/guide/using-vue.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/using-vue.md b/docs/guide/using-vue.md index f7495f8479..52b474a8ae 100644 --- a/docs/guide/using-vue.md +++ b/docs/guide/using-vue.md @@ -123,7 +123,7 @@ Make sure a custom component's names either contains a hyphen or is in PascalCas ## Script & Style Hoisting -Sometimes you may need to apply some JavaScript or CSS only to the current page. In those case you can directly write root-level `