diff --git a/README.md b/README.md index acce74a413..5443cc56a2 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ See the [Vue Docs Writing Guide](https://v3.vuejs.org/guide/writing-guide.html) 1. Clone repository ```bash -git clone git@github.com:vuejs/docs-next.git +git clone git@github.com:vuejs/docs.git ``` 2. Install dependencies diff --git a/package.json b/package.json index f7e4932033..e17c9463ed 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "@docsearch/css": "^1.0.0-alpha.27", "@docsearch/js": "^1.0.0-alpha.27", "algoliasearch": "^4.4.0", - "axios": "^0.21.1", "intersection-observer": "^0.11.0", "showdown": "^1.9.1" } diff --git a/src/.vuepress/components/community/team/members.js b/src/.vuepress/components/community/team/members.js index c4a6977093..509c2779fd 100644 --- a/src/.vuepress/components/community/team/members.js +++ b/src/.vuepress/components/community/team/members.js @@ -248,7 +248,7 @@ const members = [ { name: 'Natalia Tepluhina', title: 'Fox Tech Guru', - city: 'Kyiv, Ukraine', + city: 'Amsterdam, Netherlands', languages: ['uk', 'ru', 'en'], reposOfficial: ['vuejs.org', 'vue-cli'], work: { diff --git a/src/.vuepress/components/community/themes/theme-data.js b/src/.vuepress/components/community/themes/theme-data.js index 02d3e4d344..24732e3b0c 100644 --- a/src/.vuepress/components/community/themes/theme-data.js +++ b/src/.vuepress/components/community/themes/theme-data.js @@ -127,51 +127,79 @@ export default [ }, { name: 'PrimeVue', - description: `The open-source UI component library [PrimeVue](https://www.primefaces.org/primevue/#/?af_id=4218) offers over 50 flexible components to build your apps with! They have a ton of different component themes and Vue-CLI application templates available to get the look&feel that suits you best.`, + description: `The open-source UI component library [PrimeVue](https://www.primefaces.org/primevue/#/?af_id=4218) offers over 80 flexible components to build your apps with! They have a ton of different component themes and Vue-CLI application templates available to get the look&feel that suits you best.`, seeMoreUrl: 'https://www.primefaces.org/primevue/#/?af_id=4218', products: [ { - name: 'Sapphire', + name: 'Freya', + price: 59, + description: 'Premium Admin Template', + url: 'https://www.primefaces.org/layouts/freya-vue?af_id=4218', + image: 'https://www.primefaces.org/vue-templates/freya.jpg' + }, + { + name: 'Diamond', + price: 59, + description: 'PrimeOne Design Admin Template', + url: 'https://www.primefaces.org/layouts/diamond-vue?af_id=4218', + image: 'https://www.primefaces.org/vue-templates/diamond.jpg' + }, + { + name: 'Ultima', price: 79, description: 'Material Design Admin Template', + url: 'https://www.primefaces.org/layouts/ultima-vue?af_id=4218', + image: 'https://www.primefaces.org/vue-templates/ultima.jpg' + }, + { + name: 'Sapphire', + price: 49, + description: 'Material Design Admin Template', url: 'https://www.primefaces.org/layouts/sapphire-vue?af_id=4218', image: 'https://www.primefaces.org/vue-templates/sapphire.jpg' }, { name: 'Avalon', - price: 79, + price: 49, description: 'Bootstrap Inspired Admin Template', url: 'https://www.primefaces.org/layouts/avalon-vue?af_id=4218', image: 'https://www.primefaces.org/vue-templates/avalon.jpg' }, { name: 'Serenity', - price: 79, + price: 49, description: 'Material Design Admin Template', url: 'https://www.primefaces.org/layouts/serenity-vue?af_id=4218', image: 'https://www.primefaces.org/vue-templates/serenity.jpg' }, { name: 'Apollo', - price: 79, + price: 49, description: 'Admin Template with a Dark Mode', url: 'https://www.primefaces.org/layouts/apollo-vue?af_id=4218', image: 'https://www.primefaces.org/vue-templates/apollo.jpg' }, { name: 'Babylon', - price: 79, + price: 49, description: 'Admin Template with Extensive Options', url: 'https://www.primefaces.org/layouts/babylon-vue?af_id=4218', image: 'https://www.primefaces.org/vue-templates/babylon.jpg' }, { name: 'Roma', - price: 59, + price: 39, description: 'Admin Template with a Clean Design System', url: 'https://www.primefaces.org/layouts/roma-vue?af_id=4218', image: 'https://www.primefaces.org/vue-templates/roma.jpg' }, + { + name: 'Prestige', + price: 39, + description: 'Highly Customizable Admin Template', + url: 'https://www.primefaces.org/layouts/prestige-vue?af_id=4218', + image: 'https://www.primefaces.org/vue-templates/prestige.jpg' + }, { name: 'Sigma', price: 0, diff --git a/src/.vuepress/components/guide/contributing/translations-data.js b/src/.vuepress/components/guide/contributing/translations-data.js index 405530b040..82b5ba206b 100644 --- a/src/.vuepress/components/guide/contributing/translations-data.js +++ b/src/.vuepress/components/guide/contributing/translations-data.js @@ -11,7 +11,7 @@ export const labels = { // Repos are in alphabetical order by the language code // You may need to clear your sessionStorage when adding a new item to this list export const repos = [ - { lang: 'en-us', owner: 'vuejs', repo: 'docs-next', branch: 'master', url: 'https://v3.vuejs.org/' }, + { lang: 'en-us', owner: 'vuejs', repo: 'docs', branch: 'master', url: 'https://v3.vuejs.org/' }, { lang: 'fr', owner: 'demahom18', repo: 'docs-next', branch: 'master', url: 'https://vue3-fr.netlify.app/' }, { lang: 'id', owner: 'vuejs-id', repo: 'docs-next', branch: 'indonesian' }, { lang: 'ja', owner: 'vuejs-jp', repo: 'ja.vuejs.org', branch: 'lang-ja', url: 'https://v3.ja.vuejs.org/' }, diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js index fb2599f477..e4abc17971 100644 --- a/src/.vuepress/config.js +++ b/src/.vuepress/config.js @@ -80,6 +80,7 @@ const sidebar = { title: 'Advanced Guides', collapsable: false, children: [ + '/guide/web-components', { title: 'Reactivity', children: [ @@ -106,7 +107,12 @@ const sidebar = { { title: 'Scaling Up', collapsable: false, - children: ['/guide/routing', '/guide/state-management', '/guide/ssr', '/guide/security'] + children: [ + '/guide/routing', + '/guide/state-management', + '/guide/ssr', + '/guide/security' + ] }, { title: 'Accessibility', @@ -117,6 +123,13 @@ const sidebar = { '/guide/a11y-standards', '/guide/a11y-resources' ] + }, + { + title: 'FAQs', + collapsable: false, + children: [ + ['/guide/creating-new-projects', 'Creating New Projects'] + ] } ], api: [ @@ -148,10 +161,33 @@ const sidebar = { children: [ '/api/basic-reactivity', '/api/refs-api', - '/api/computed-watch-api' + '/api/computed-watch-api', + '/api/effect-scope', ] }, - '/api/composition-api' + '/api/composition-api', + { + title: 'Single File Components', + collapsable: false, + children: [ + { + title: 'Spec', + path: '/api/sfc-spec' + }, + { + title: 'Tooling', + path: '/api/sfc-tooling' + }, + { + title: ' diff --git a/src/.vuepress/theme/components/Newsletter.vue b/src/.vuepress/theme/components/Newsletter.vue index 9967cbceb7..c16a2bdb44 100644 --- a/src/.vuepress/theme/components/Newsletter.vue +++ b/src/.vuepress/theme/components/Newsletter.vue @@ -85,6 +85,7 @@ box-sizing: border-box; border: 1px solid currentColor; appearance: none; + cursor: pointer; } } diff --git a/src/.vuepress/theme/components/PageEdit.vue b/src/.vuepress/theme/components/PageEdit.vue index c1386f6b86..28161a592f 100644 --- a/src/.vuepress/theme/components/PageEdit.vue +++ b/src/.vuepress/theme/components/PageEdit.vue @@ -4,17 +4,20 @@

Deployed on Netlify. - + @@ -519,7 +567,7 @@ export default { ``` -For more information about using CSS modules, see [Vue Loader - CSS Modules](https://vue-loader.vuejs.org/guide/css-modules.html). +For more information about using CSS modules, see [SFC Style Features: ` + + + This could be e.g. documentation for the component. + +``` + +## Language Blocks + +### `