diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 2f9d178..8d9439a 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -17,31 +17,25 @@ module.exports = { label: 'English', selectText: 'Languages', editLinkText: 'Edit this page on GitHub', - nav: [{ - text: 'Guide', - link: '/guide/' - }, + nav: [ { - text: 'Options Reference', - link: '/options' + text: 'Getting Started', + link: '/getting-started' }, { text: 'Migrating from v2', link: '/migrating' - }, - { - text: 'Cookbook', - link: '/cookbook/' } ], sidebar: [ - '/', - '/guide/', + { + title: 'Guide', + children: ['/', '/getting-started', '/examples'] + }, '/options', - '/cookbook/', '/changelog' ] } } } -} \ No newline at end of file +} diff --git a/docs/README.md b/docs/README.md index 812e8d1..07d7047 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,20 +4,20 @@ This is the documentation for Rollup Plugin Vue v4 and above. If you are upgrading from v2 or an earlier version, check out the [Migration Guide](./migrating.md). If you are using an older version, the old docs are [here](https://github.com/vuejs/rollup-plugin-vue/tree/2.2/docs). ::: -## What is Rollup Plugin Vue? +## What does Rollup Plugin Vue do? -`rollup-plugin-vue` is a plugin for [rollup](https://rollupjs.org/) that allows you to author Vue components in a format called [Single-File Components (SFCs)](https://vue-loader.vuejs.org/spec.html): +This is a plugin for [rollup](https://rollupjs.org/) that allows you to author Vue components in a format called [Single-File Components (SFCs)](https://vue-loader.vuejs.org/spec.html). They look like this: ``` vue