From 65776028940cb5f21623862826c35b277202fce8 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Mon, 4 Apr 2022 18:56:10 +0800 Subject: [PATCH] chore(docs): setup `case-police` guard (#4065) * chore: setup `case-police` guard * chore: fix cases * chore: upgrade deps --- docs/content/1.getting-started/2.installation.md | 2 +- docs/content/1.getting-started/4.bridge.md | 4 ++-- docs/content/2.concepts/2.vuejs-development.md | 4 ++-- docs/content/3.docs/1.usage/3.meta-tags.md | 2 ++ docs/content/3.docs/3.migration/1.overview.md | 2 +- docs/content/3.docs/3.migration/20.module-authors.md | 2 +- docs/content/3.docs/8.deployment/6.vercel.md | 2 +- docs/content/5.community/2.reporting-bugs.md | 4 ++-- docs/content/5.community/4.roadmap.md | 2 +- docs/content/index.md | 4 ++-- package.json | 3 ++- yarn.lock | 10 ++++++++++ 12 files changed, 27 insertions(+), 14 deletions(-) diff --git a/docs/content/1.getting-started/2.installation.md b/docs/content/1.getting-started/2.installation.md index 3e02ca6b5f..8d7c264deb 100644 --- a/docs/content/1.getting-started/2.installation.md +++ b/docs/content/1.getting-started/2.installation.md @@ -12,7 +12,7 @@ Learn more in [Introduction](/getting-started/introduction). You can start playing with Nuxt 3 in your browser using our online sandboxes: :button-link[Play on StackBlitz]{href="https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz" blank} -:button-link[Play on CodeSandBox]{href="https://codesandbox.io/s/github/nuxt/starter/tree/v3-codesandbox" blank} +:button-link[Play on CodeSandbox]{href="https://codesandbox.io/s/github/nuxt/starter/tree/v3-codesandbox" blank} ## New project diff --git a/docs/content/1.getting-started/4.bridge.md b/docs/content/1.getting-started/4.bridge.md index 671d718d7d..04a06f45fe 100644 --- a/docs/content/1.getting-started/4.bridge.md +++ b/docs/content/1.getting-started/4.bridge.md @@ -255,10 +255,10 @@ export default defineNuxtConfig({ // Disable nuxt 3 compatible `nuxtApp` interface // app: false, - // Disable composition API support + // Disable Composition API support // capi: false, - // ... or just disable legacy composition API support + // ... or just disable legacy Composition API support // capi: { // legacy: false // }, diff --git a/docs/content/2.concepts/2.vuejs-development.md b/docs/content/2.concepts/2.vuejs-development.md index 9f5b085758..b3400da2b7 100644 --- a/docs/content/2.concepts/2.vuejs-development.md +++ b/docs/content/2.concepts/2.vuejs-development.md @@ -30,7 +30,7 @@ Most applications need multiple pages and a way to navigate between them. This i ### Example :button-link[Open on StackBlitz]{href="https://stackblitz.com/edit/github-9hzuns?file=app.vue" blank} -:button-link[Open on CodeSandBox]{href="https://codesandbox.io/s/nuxt-3-components-auto-import-2xq9z?file=/app.vue" blank} +:button-link[Open on CodeSandbox]{href="https://codesandbox.io/s/nuxt-3-components-auto-import-2xq9z?file=/app.vue" blank} The `app.vue` file is the entrypoint, which represents the page displayed in the browser window. @@ -98,7 +98,7 @@ Used with the `setup` keyword in the ` ``` -The goal of Nuxt 3 is to provide a great developer experience around the composition API. +The goal of Nuxt 3 is to provide a great developer experience around the Composition API. - Use auto-imported [Reactivity functions](https://vuejs.org/api/reactivity-core.html) from Vue and Nuxt 3 [built-in composables](/docs/usage/data-fetching). - Write your own auto-imported reusable functions in the `composables/` directory. diff --git a/docs/content/3.docs/1.usage/3.meta-tags.md b/docs/content/3.docs/1.usage/3.meta-tags.md index 2761c50e63..497e1b5773 100644 --- a/docs/content/3.docs/1.usage/3.meta-tags.md +++ b/docs/content/3.docs/1.usage/3.meta-tags.md @@ -33,6 +33,8 @@ Because these component names match native HTML elements, it is very important t For example: + + ```html{}[app.vue]