diff --git a/README.md b/README.md
index 5443cc56a2..86dc20a48e 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.git
+git clone https://github.com/vuejs/docs.git
```
2. Install dependencies
diff --git a/src/.vuepress/components/community/themes/theme-data.js b/src/.vuepress/components/community/themes/theme-data.js
index 4604a5ea2e..7e0d9ffc1b 100644
--- a/src/.vuepress/components/community/themes/theme-data.js
+++ b/src/.vuepress/components/community/themes/theme-data.js
@@ -127,7 +127,7 @@ export default [
},
{
name: 'PrimeVue',
- 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.`,
+ 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: [
{
@@ -218,7 +218,7 @@ export default [
},
{
name: 'Flatlogic',
- description: `Check the admin dashboards templates built by our partners from [Flatlogic](https://flatlogic.com/templates?ref=x-fdkuTAVW). With these themes you can see how real applications is built. Additionally these templates will help you to start a new application and save you time and money.`,
+ description: `Check out the admin dashboard templates built by our partners from [Flatlogic](https://flatlogic.com/templates?ref=x-fdkuTAVW). With these themes you can see how real applications are built. Additionally, these templates will help you to start a new application and save you time and money.`,
seeMoreUrl: 'https://flatlogic.com/templates?ref=x-fdkuTAVW',
products: [
{
diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js
index c86fe52d07..3370925c2c 100644
--- a/src/.vuepress/config.js
+++ b/src/.vuepress/config.js
@@ -274,7 +274,7 @@ module.exports = {
'link',
{
href:
- 'https://fonts.googleapis.com/css?family=Inter:300,400,500,600|Archivo:400,600|Open+Sans:400,600;display=swap',
+ 'https://fonts.googleapis.com/css?family=Inter:300,400,500,600|Open+Sans:400,600;display=swap',
rel: 'stylesheet'
}
],
diff --git a/src/.vuepress/public/images/vueschool/extended.svg b/src/.vuepress/public/images/vueschool/extended.svg
deleted file mode 100644
index 192d76b2f9..0000000000
--- a/src/.vuepress/public/images/vueschool/extended.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
diff --git a/src/.vuepress/public/images/vueschool/tech-coin-js.png b/src/.vuepress/public/images/vueschool/tech-coin-js.png
deleted file mode 100644
index 14e506f28c..0000000000
Binary files a/src/.vuepress/public/images/vueschool/tech-coin-js.png and /dev/null differ
diff --git a/src/.vuepress/public/images/vueschool/tech-coin-nuxt.png b/src/.vuepress/public/images/vueschool/tech-coin-nuxt.png
deleted file mode 100644
index f7e2189dcd..0000000000
Binary files a/src/.vuepress/public/images/vueschool/tech-coin-nuxt.png and /dev/null differ
diff --git a/src/.vuepress/public/images/vueschool/tech-coin-ts.png b/src/.vuepress/public/images/vueschool/tech-coin-ts.png
deleted file mode 100644
index f34f41448e..0000000000
Binary files a/src/.vuepress/public/images/vueschool/tech-coin-ts.png and /dev/null differ
diff --git a/src/.vuepress/public/images/vueschool/tech-coin-vue.png b/src/.vuepress/public/images/vueschool/tech-coin-vue.png
deleted file mode 100644
index 201246e6fa..0000000000
Binary files a/src/.vuepress/public/images/vueschool/tech-coin-vue.png and /dev/null differ
diff --git a/src/.vuepress/public/images/vueschool/tech-coin-vuex.png b/src/.vuepress/public/images/vueschool/tech-coin-vuex.png
deleted file mode 100644
index aa04881939..0000000000
Binary files a/src/.vuepress/public/images/vueschool/tech-coin-vuex.png and /dev/null differ
diff --git a/src/.vuepress/public/images/vueschool/vueschool_banner_mobile.png b/src/.vuepress/public/images/vueschool/vueschool_banner_mobile.png
deleted file mode 100644
index 590a15a4f3..0000000000
Binary files a/src/.vuepress/public/images/vueschool/vueschool_banner_mobile.png and /dev/null differ
diff --git a/src/.vuepress/public/images/vueschool/vueschool_blackfriday_background_tablet_2.svg b/src/.vuepress/public/images/vueschool/vueschool_blackfriday_background_tablet_2.svg
deleted file mode 100644
index ed53dc0f14..0000000000
--- a/src/.vuepress/public/images/vueschool/vueschool_blackfriday_background_tablet_2.svg
+++ /dev/null
@@ -1,200 +0,0 @@
-
diff --git a/src/.vuepress/public/images/vueschool/vueschool_blackfriday_logo.svg b/src/.vuepress/public/images/vueschool/vueschool_blackfriday_logo.svg
deleted file mode 100644
index 351c55977e..0000000000
--- a/src/.vuepress/public/images/vueschool/vueschool_blackfriday_logo.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
diff --git a/src/.vuepress/public/images/vueschool/vueschool_close.svg b/src/.vuepress/public/images/vueschool/vueschool_close.svg
deleted file mode 100644
index 0e2f31fcd4..0000000000
--- a/src/.vuepress/public/images/vueschool/vueschool_close.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
\ No newline at end of file
diff --git a/src/.vuepress/theme/components/BannerCoins.vue b/src/.vuepress/theme/components/BannerCoins.vue
deleted file mode 100644
index 108cd95556..0000000000
--- a/src/.vuepress/theme/components/BannerCoins.vue
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
@@ -52,7 +50,6 @@ import Page from '@theme/components/Page.vue'
import Sidebar from '@theme/components/Sidebar.vue'
import BuySellAds from '@theme/components/BuySellAds.vue'
import CarbonAds from '@theme/components/CarbonAds.vue'
-import BannerTop from '@theme/components/BannerTop.vue'
import { resolveSidebarItems } from '../util'
export default {
@@ -63,15 +60,15 @@ export default {
Page,
Sidebar,
Navbar,
- BannerTop,
BuySellAds,
CarbonAds
},
data() {
return {
- showTopBanner: false,
- isSidebarOpen: false
+ isSidebarOpen: false,
+ isMenuFixed: false,
+ menuPosition: 0
}
},
@@ -115,8 +112,7 @@ export default {
{
'no-navbar': !this.shouldShowNavbar,
'sidebar-open': this.isSidebarOpen,
- 'no-sidebar': !this.shouldShowSidebar,
- 'has-top-banner': this.showTopBanner
+ 'no-sidebar': !this.shouldShowSidebar
},
userPageClass
]
@@ -131,16 +127,9 @@ export default {
this.$router.afterEach(() => {
this.isSidebarOpen = false
})
-
- this.showTopBanner = !localStorage.getItem('VS_BF21_BANNER_CLOSED')
},
methods: {
- closeBannerTop () {
- this.showTopBanner = false
- localStorage.setItem('VS_BF21_BANNER_CLOSED', 1)
- },
-
toggleSidebar(to) {
this.isSidebarOpen = typeof to === 'boolean' ? to : !this.isSidebarOpen
this.$emit('toggle-sidebar', this.isSidebarOpen)
diff --git a/src/api/application-api.md b/src/api/application-api.md
index f18b560d9a..b6a1470cc8 100644
--- a/src/api/application-api.md
+++ b/src/api/application-api.md
@@ -235,7 +235,7 @@ app.mount('#my-app')
Providing values via the application is especially useful when writing plugins, as plugins typically wouldn't be able to provide values using components. It is an alternative to using [globalProperties](application-config.html#globalproperties).
:::tip Note
- The `provide` and `inject` bindings are NOT reactive. This is intentional. However, if you pass down an observed object, properties on that object do remain reactive.
+ The `provide` and `inject` bindings are NOT reactive. This is intentional. However, if you pass down a reactive object, properties on that object do remain reactive.
:::
- **Example:**
@@ -298,9 +298,9 @@ setTimeout(() => app.unmount(), 5000)
- **Usage:**
- Install a Vue.js plugin. If the plugin is an Object, it must expose an `install` method. If it is a function itself, it will be treated as the install method.
+ Install a Vue.js plugin. If the plugin is an Object, it must expose an `install` method. If it is a function itself, it will be treated as the `install` method.
- The install method will be called with the application as its first argument. Any `options` passed to `use` will be passed on in subsequent arguments.
+ The `install` method will be called with the application as its first argument. Any `options` passed to `use` will be passed on in subsequent arguments.
When this method is called on the same plugin multiple times, the plugin will be installed only once.
diff --git a/src/api/application-config.md b/src/api/application-config.md
index 0bd8bdc2b1..b53487fe81 100644
--- a/src/api/application-config.md
+++ b/src/api/application-config.md
@@ -26,7 +26,7 @@ app.config.errorHandler = (err, vm, info) => {
}
```
-Assign a handler for uncaught errors during component render function and watchers. The handler gets called with the error and the application instance.
+Assign a handler for uncaught errors during component render function and watchers. The handler gets called with the error and the corresponding application instance.
> Error tracking services [Sentry](https://sentry.io/for/vue/) and [Bugsnag](https://docs.bugsnag.com/platforms/browsers/vue/) provide official integrations using this option.
@@ -146,7 +146,7 @@ This config option is only respected when using the full build (i.e. the standal
app.config.compilerOptions.isCustomElement = tag => tag.startsWith('ion-')
```
-Specifies a method to recognize custom elements defined outside of Vue (e.g., using the Web Components APIs). If component matches this condition, it won't need local or global registration and Vue won't throw a warning about an `Unknown custom element`.
+Specifies a method to recognize custom elements defined outside of Vue (e.g., using the Web Components APIs). If a component matches this condition, it won't need local or global registration and Vue won't throw a warning about an `Unknown custom element`.
> Note that all native HTML and SVG tags don't need to be matched in this function - Vue parser performs this check automatically.
diff --git a/src/api/global-api.md b/src/api/global-api.md
index 6527cb5a50..eec4d7c9e8 100644
--- a/src/api/global-api.md
+++ b/src/api/global-api.md
@@ -193,9 +193,7 @@ createApp({
})
```
-For advanced usage, `defineAsyncComponent` can accept an object:
-
-The `defineAsyncComponent` method can also return an object of the following format:
+For advanced usage, `defineAsyncComponent` can accept an object of the following format:
```js
import { defineAsyncComponent } from 'vue'
diff --git a/src/api/sfc-script-setup.md b/src/api/sfc-script-setup.md
index cf73d9356c..fcf0462278 100644
--- a/src/api/sfc-script-setup.md
+++ b/src/api/sfc-script-setup.md
@@ -223,7 +223,7 @@ const attrs = useAttrs()
`
+
+
+```
+
### Type-only props/emit declarations
Props and emits can also be declared using pure-type syntax by passing a literal type argument to `defineProps` or `defineEmits`:
diff --git a/src/coc/index.md b/src/coc/index.md
index fd53230a08..29a950b967 100644
--- a/src/coc/index.md
+++ b/src/coc/index.md
@@ -2,7 +2,7 @@
## Our Pledge
-In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, political party, or sexual identity and orientation. Note, however, that religion, political party, or other ideological affiliation provide no exemptions for the behavior we outline as unacceptable in this Code of Conduct.
+In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, political party, or sexual identity and orientation. Note, however, that religion, political party, or other ideological affiliation provide no exemptions for the behavior we outline as unacceptable in this Code of Conduct.
## Our Standards
diff --git a/src/community/join.md b/src/community/join.md
index b78cbf359c..bb4ef014b4 100644
--- a/src/community/join.md
+++ b/src/community/join.md
@@ -41,7 +41,7 @@ After that, you'll be ready to contribute to Vue's core repositories:
Apart from answering questions and sharing resources in the forum and chat, there are a few other less obvious ways to share and expand what you know:
- **Develop learning materials.** It's often said that the best way to learn is to teach. If there's something interesting you're doing with Vue, strengthen your expertise by writing a blog post, developing a workshop, or even publishing a gist that you share on social media.
-- **Watch a repo you care about.** This will send you notifications whenever there's activity in that repository, giving you insider knowledge about ongoing discussions and upcoming features. It's a fantastic way to build expertise so that you're eventually able to help address issues and pull requests.
+- **Watch a repo you care about.** This will send you notifications whenever there's an activity in that repository, giving you insider knowledge about ongoing discussions and upcoming features. It's a fantastic way to build expertise so that you're eventually able to help address issues and pull requests.
### Translate Docs
diff --git a/src/cookbook/debugging-in-vscode.md b/src/cookbook/debugging-in-vscode.md
index 2694ce379f..f43f789a77 100644
--- a/src/cookbook/debugging-in-vscode.md
+++ b/src/cookbook/debugging-in-vscode.md
@@ -1,6 +1,6 @@
# Debugging in VS Code
-Every application reaches a point where it's necessary to understand failures, small to large. In this recipe, we explore a few workflows for VS Code users who would like to debug their application in the browser.
+Every application reaches a point where it's necessary to understand failures, small to large. In this recipe, we explore a few workflows for VS Code users who would like to debug their applications in the browser.
This recipe shows how to debug [Vue CLI](https://github.com/vuejs/vue-cli) applications in VS Code as they run in the browser.
diff --git a/src/cookbook/editable-svg-icons.md b/src/cookbook/editable-svg-icons.md
index 360a076777..c0f85ce5e7 100644
--- a/src/cookbook/editable-svg-icons.md
+++ b/src/cookbook/editable-svg-icons.md
@@ -2,7 +2,7 @@
## Base Example
-There are many ways to create an SVG Icon System, but one method that takes advantage of Vue's capabilities is to create editable inline icons as components. Some of the advantages of this way of working is:
+There are many ways to create an SVG Icon System, but one method that takes advantage of Vue's capabilities is to create editable inline icons as components. Some of the advantages of this way of working are:
- They are easy to edit on the fly
- They are animatable
@@ -141,7 +141,7 @@ export default {
}
```
-We're applying `refs` to the groups of paths we need to move, and as both sides of the scissors have to move in tandem, we'll create a function we can reuse where we'll pass in the `refs`. The use of GreenSock helps resolve animation support and `transform-origin` issues across browser.
+We're applying `refs` to the groups of paths we need to move, and as both sides of the scissors have to move in tandem, we'll create a function we can reuse where we'll pass in the `refs`. The use of GreenSock helps resolve animation support and `transform-origin` issues across browsers.
@@ -151,7 +151,7 @@ You can see more animated examples in the repo [here](https://github.com/sdras/v
## Additional Notes
-Designers may change their minds. Product requirements change. Keeping the logic for the entire icon system in one base component means you can quickly update all of your icons and have it propagate through the whole system. Even with the use of an icon loader, some situations require you to recreate or edit every SVG to make global changes. This method can save you that time and pain.
+Designers may change their minds. Product requirements change. Keeping the logic for the entire icon system in one base component means you can quickly update all of your icons and have them propagate through the whole system. Even with the use of an icon loader, some situations require you to recreate or edit every SVG to make global changes. This method can save you that time and pain.
## When To Avoid This Pattern
@@ -164,4 +164,4 @@ Other tooling to help manage SVG icons includes:
- [svg-sprite-loader](https://github.com/kisenka/svg-sprite-loader)
- [svgo-loader](https://github.com/rpominov/svgo-loader)
-These tools bundle SVGs at compile time, but make them a little harder to edit during runtime, because `