From 1cd64a882ad0be60728baffa16188e70935bcdba Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 6 Feb 2023 15:40:52 +0800 Subject: [PATCH 001/720] epicmax -> platinum --- src/partners/partners.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/partners/partners.json b/src/partners/partners.json index 6066e8283f..2f2920669a 100644 --- a/src/partners/partners.json +++ b/src/partners/partners.json @@ -255,6 +255,7 @@ "text": "epicmax.co", "url": "https://epicmax.co/" }, + "platinum": true, "contact": "hello@epicmax.co" } ] From e2c54b9b9d66a6e267e42ac55e3098bd46c35eee Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 6 Feb 2023 16:00:17 +0800 Subject: [PATCH 002/720] improve all partner listing --- src/partners/components/PartnerLanding.vue | 2 +- src/partners/components/PartnerList.vue | 29 +++++++++++++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/src/partners/components/PartnerLanding.vue b/src/partners/components/PartnerLanding.vue index 766e07075a..2ecf5ca43f 100644 --- a/src/partners/components/PartnerLanding.vue +++ b/src/partners/components/PartnerLanding.vue @@ -29,7 +29,7 @@ onMounted(() => { diff --git a/src/partners/components/PartnerList.vue b/src/partners/components/PartnerList.vue index 8edf7c6c35..30667fa4c5 100644 --- a/src/partners/components/PartnerList.vue +++ b/src/partners/components/PartnerList.vue @@ -4,8 +4,9 @@ import { computed, onMounted } from 'vue' import PartnerCard from './PartnerCard.vue' import { Partner } from './type' -const { filter } = defineProps<{ +const { filter, showLinkToAll } = defineProps<{ filter?: (p: Partner) => boolean | undefined + showLinkToAll?: boolean }>() let mounted = $ref(false) @@ -49,6 +50,9 @@ function shuffle(array: Array) { + + Browse and Search
All Partners +
@@ -58,4 +62,27 @@ function shuffle(array: Array) { flex-wrap: wrap; justify-content: space-between; } + +.browse-all { + color: var(--vt-c-text-2); + transition: color .5s ease; + font-size: 1.2em; + text-align: center; + padding-top: 240px; + display: block; + border-radius: 4px; + border: 1px solid var(--vt-c-divider-light); + width: 48.5%; + margin-bottom: 36px; +} + +.browse-all:hover { + color: var(--vt-c-text-1); +} + +@media (max-width: 768px) { + .browse-all { + display: none; + } +} From fb505032647d9a093f64bd205c2268ea9b8a38e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alois=20Se=C4=8Dk=C3=A1r?= Date: Tue, 7 Feb 2023 01:32:22 +0100 Subject: [PATCH 003/720] missed element in TypeScript interface (#2204) --- src/about/team/Member.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/about/team/Member.ts b/src/about/team/Member.ts index f124977e25..cc72460185 100644 --- a/src/about/team/Member.ts +++ b/src/about/team/Member.ts @@ -21,5 +21,6 @@ export interface Link { export interface Socials { github: string twitter?: string + linkedin?: string codepen?: string } From 4f2e4ce13827840d6e296a417643f7e183644a3f Mon Sep 17 00:00:00 2001 From: Daniel Kelly Date: Mon, 6 Feb 2023 19:02:04 -0600 Subject: [PATCH 004/720] Add link to Vue School video lesson (#2212) --- src/guide/extras/composition-api-faq.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/guide/extras/composition-api-faq.md b/src/guide/extras/composition-api-faq.md index cdd0b3f8b1..8d335bdc4d 100644 --- a/src/guide/extras/composition-api-faq.md +++ b/src/guide/extras/composition-api-faq.md @@ -10,6 +10,8 @@ This FAQ assumes prior experience with Vue - in particular, experience with Vue ## What is Composition API? {#what-is-composition-api} + + Composition API is a set of APIs that allows us to author Vue components using imported functions instead of declaring options. It is an umbrella term that covers the following APIs: - [Reactivity API](/api/reactivity-core.html), e.g. `ref()` and `reactive()`, that allows us to directly create reactive state, computed state, and watchers. From 67f81a02784778f7fd8710329cb968f349f859e3 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 7 Feb 2023 09:52:05 +0800 Subject: [PATCH 005/720] update french translation URL --- src/translations/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/translations/index.md b/src/translations/index.md index 09433331f4..29dbdab1ca 100644 --- a/src/translations/index.md +++ b/src/translations/index.md @@ -13,7 +13,7 @@ aside: false ## Work in Progress Languages {#work-in-progress-languages} - [Українська / Ukrainian](https://ua.vuejs.org) [[source](https://github.com/vuejs-translations/docs-ua)] -- [Français / French](https://vuejs-docs-fr.netlify.app) [[source](https://github.com/vuejs-translations/docs-fr)] +- [Français / French](https://fr.vuejs.org) [[source](https://github.com/vuejs-translations/docs-fr)] ## Starting a new Translation {#starting-a-new-translation} From a3eb853dde1c619d0e92b4744920d7a24d271344 Mon Sep 17 00:00:00 2001 From: Fuqiao Xue Date: Wed, 8 Feb 2023 03:44:10 +0000 Subject: [PATCH 006/720] Fix broken link (#2218) --- src/guide/extras/composition-api-faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/extras/composition-api-faq.md b/src/guide/extras/composition-api-faq.md index 8d335bdc4d..898e8e2876 100644 --- a/src/guide/extras/composition-api-faq.md +++ b/src/guide/extras/composition-api-faq.md @@ -10,7 +10,7 @@ This FAQ assumes prior experience with Vue - in particular, experience with Vue ## What is Composition API? {#what-is-composition-api} - + Composition API is a set of APIs that allows us to author Vue components using imported functions instead of declaring options. It is an umbrella term that covers the following APIs: From ead4aa2641043f9c2970e4be3ba8817bfbd89fc0 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 8 Feb 2023 15:15:20 +0800 Subject: [PATCH 007/720] update references to volar --- src/about/team/members-core.json | 8 ++++++-- src/guide/scaling-up/tooling.md | 2 +- src/guide/typescript/overview.md | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/about/team/members-core.json b/src/about/team/members-core.json index 5ee1fe3c92..5382405367 100644 --- a/src/about/team/members-core.json +++ b/src/about/team/members-core.json @@ -464,8 +464,12 @@ "title": "Developer", "projects": [ { - "label": "volar", - "url": "https://github.com/johnsoncodehk/volar" + "label": "@vue/language-tools", + "url": "https://github.com/vuejs/language-tools" + }, + { + "label": "Volar.js", + "url": "https://github.com/volarjs" } ], "location": "Hong Kong, China", diff --git a/src/guide/scaling-up/tooling.md b/src/guide/scaling-up/tooling.md index 999396c64f..d6d8cd53bd 100644 --- a/src/guide/scaling-up/tooling.md +++ b/src/guide/scaling-up/tooling.md @@ -53,7 +53,7 @@ If you are looking for a lighter-weight alternative for no-build-step usage, che ## IDE Support {#ide-support} -- The recommended IDE setup is [VSCode](https://code.visualstudio.com/) + the [Volar](https://github.com/johnsoncodehk/volar) extension. Volar provides syntax highlighting, TypeScript support, and intellisense for template expressions and component props. +- The recommended IDE setup is [VSCode](https://code.visualstudio.com/) + the [Vue Language Features (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.volar) extension. The extension provides syntax highlighting, TypeScript support, and intellisense for template expressions and component props. :::tip Volar replaces [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur), our previous official VSCode extension for Vue 2. If you have Vetur currently installed, make sure to disable it in Vue 3 projects. diff --git a/src/guide/typescript/overview.md b/src/guide/typescript/overview.md index 090ba9161e..8a5253cdf1 100644 --- a/src/guide/typescript/overview.md +++ b/src/guide/typescript/overview.md @@ -18,7 +18,7 @@ With a Vite-based setup, the dev server and the bundler are transpilation-only a - During development, we recommend relying on a good [IDE setup](#ide-support) for instant feedback on type errors. -- If using SFCs, use the [`vue-tsc`](https://github.com/johnsoncodehk/volar/tree/master/vue-language-tools/vue-tsc) utility for command line type checking and type declaration generation. `vue-tsc` is a wrapper around `tsc`, TypeScript's own command line interface. It works largely the same as `tsc` except that it supports Vue SFCs in addition to TypeScript files. You can run `vue-tsc` in watch mode in parallel to the Vite dev server, or use a Vite plugin like [vite-plugin-checker](https://vite-plugin-checker.netlify.app/) which runs the checks in a separate worker thread. +- If using SFCs, use the [`vue-tsc`](https://github.com/vuejs/language-tools/tree/master/packages/vue-tsc) utility for command line type checking and type declaration generation. `vue-tsc` is a wrapper around `tsc`, TypeScript's own command line interface. It works largely the same as `tsc` except that it supports Vue SFCs in addition to TypeScript files. You can run `vue-tsc` in watch mode in parallel to the Vite dev server, or use a Vite plugin like [vite-plugin-checker](https://vite-plugin-checker.netlify.app/) which runs the checks in a separate worker thread. - Vue CLI also provides TypeScript support, but is no longer recommended. See [notes below](#note-on-vue-cli-and-ts-loader). From a3e76cceec17b8baf7c158260de0273d5f7db339 Mon Sep 17 00:00:00 2001 From: Nicolas Couraud <72993859+Nicolascrd@users.noreply.github.com> Date: Wed, 8 Feb 2023 17:26:26 +0100 Subject: [PATCH 008/720] Fix broken link in docs (#2223) Referencing https://github.com/vuejs/docs/issues/2206 Changing link destination from https://github.com/vuejs/core/blob/main/test-dts/componentTypeExtensions.test-d.tsx (404) to https://github.com/vuejs/core/blob/main/packages/dts-test/componentTypeExtensions.test-d.tsx --- src/guide/typescript/options-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guide/typescript/options-api.md b/src/guide/typescript/options-api.md index 239a5318ae..a730aa6949 100644 --- a/src/guide/typescript/options-api.md +++ b/src/guide/typescript/options-api.md @@ -230,7 +230,7 @@ declare module 'vue' { See also: -- [TypeScript unit tests for component type extensions](https://github.com/vuejs/core/blob/main/test-dts/componentTypeExtensions.test-d.tsx) +- [TypeScript unit tests for component type extensions](https://github.com/vuejs/core/blob/main/packages/dts-test/componentTypeExtensions.test-d.tsx) ### Type Augmentation Placement {#type-augmentation-placement} @@ -290,4 +290,4 @@ The placement of this augmentation is subject the [same restrictions](#type-augm See also: -- [TypeScript unit tests for component type extensions](https://github.com/vuejs/core/blob/main/test-dts/componentTypeExtensions.test-d.tsx) +- [TypeScript unit tests for component type extensions](https://github.com/vuejs/core/blob/main/packages/dts-test/componentTypeExtensions.test-d.tsx) From 25d30c5288028a6678e5bf47f5e8dbb9cf9a87c3 Mon Sep 17 00:00:00 2001 From: Sunny-117 <73089592+Sunny-117@users.noreply.github.com> Date: Thu, 9 Feb 2023 01:52:09 +0800 Subject: [PATCH 009/720] fix(reactivity): template render result (#2222) --- src/guide/essentials/reactivity-fundamentals.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/essentials/reactivity-fundamentals.md b/src/guide/essentials/reactivity-fundamentals.md index 5b6f243463..641c209943 100644 --- a/src/guide/essentials/reactivity-fundamentals.md +++ b/src/guide/essentials/reactivity-fundamentals.md @@ -465,7 +465,7 @@ The following expression will **NOT** work as expected: {{ object.foo + 1 }} ``` -The rendered result will be `[object Object]` because `object.foo` is a ref object. We can fix that by making `foo` a top-level property: +The rendered result will be `[object Object]1` because `object.foo` is a ref object. We can fix that by making `foo` a top-level property: ```js const { foo } = object From d08e66112de4feefb3e71560cd904e80f10d3372 Mon Sep 17 00:00:00 2001 From: Ganesh Rai <72004365+gaxrai@users.noreply.github.com> Date: Thu, 9 Feb 2023 20:22:57 +0530 Subject: [PATCH 010/720] fix(reactivity-fundamentals): Ref Unwrapping (#2205) Fixed a typo in which it says 'foo' is a top-level property when the object is. --- src/guide/essentials/reactivity-fundamentals.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/essentials/reactivity-fundamentals.md b/src/guide/essentials/reactivity-fundamentals.md index 641c209943..0bd26b36d8 100644 --- a/src/guide/essentials/reactivity-fundamentals.md +++ b/src/guide/essentials/reactivity-fundamentals.md @@ -451,7 +451,7 @@ function increment() { [Try it in the Playground](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiB9IGZyb20gJ3Z1ZSdcblxuY29uc3QgY291bnQgPSByZWYoMClcblxuZnVuY3Rpb24gaW5jcmVtZW50KCkge1xuICBjb3VudC52YWx1ZSsrXG59XG48L3NjcmlwdD5cblxuPHRlbXBsYXRlPlxuICA8YnV0dG9uIEBjbGljaz1cImluY3JlbWVudFwiPnt7IGNvdW50IH19PC9idXR0b24+XG48L3RlbXBsYXRlPiIsImltcG9ydC1tYXAuanNvbiI6IntcbiAgXCJpbXBvcnRzXCI6IHtcbiAgICBcInZ1ZVwiOiBcImh0dHBzOi8vc2ZjLnZ1ZWpzLm9yZy92dWUucnVudGltZS5lc20tYnJvd3Nlci5qc1wiXG4gIH1cbn0ifQ==) -Note that the unwrapping only applies if the ref is a top-level property on the template render context. As an example, `foo` is a top-level property, but `object.foo` is not. +Note that the unwrapping only applies if the ref is a top-level property on the template render context. As an example, `object` is a top-level property, but `object.foo` is not. So, given the following object: From 93caf53cdeff5ac3e16b91bb75bc356a38d330a2 Mon Sep 17 00:00:00 2001 From: skirtle <65301168+skirtles-code@users.noreply.github.com> Date: Thu, 9 Feb 2023 14:54:12 +0000 Subject: [PATCH 011/720] Make SiteMap.vue compatible with translations (#2214) --- .vitepress/theme/components/SiteMap.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vitepress/theme/components/SiteMap.vue b/.vitepress/theme/components/SiteMap.vue index d8579a1135..47b520c550 100644 --- a/.vitepress/theme/components/SiteMap.vue +++ b/.vitepress/theme/components/SiteMap.vue @@ -4,7 +4,7 @@ import { useData } from 'vitepress' const data = useData() const nav = data.site.value.themeConfig.nav -const ecosystem = nav.find((i: any) => i.text === 'Ecosystem') +const ecosystem = nav.find((i: any) => i.activeMatch?.includes('ecosystem')) const items = nav .filter((i: any) => i !== ecosystem && i.items) .concat(ecosystem.items) From 8df5f60edb98f83089fb36a71466dd005555780c Mon Sep 17 00:00:00 2001 From: Eugene Date: Thu, 9 Feb 2023 14:55:45 +0000 Subject: [PATCH 012/720] docs: update not about firefox support for import maps (#2224) at somepoint this note can be remove entirely but for now it's probbably current enough to still be useful https://caniuse.com/?search=import%20map --- src/guide/quick-start.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/quick-start.md b/src/guide/quick-start.md index daa07152eb..a615e96ad0 100644 --- a/src/guide/quick-start.md +++ b/src/guide/quick-start.md @@ -165,7 +165,7 @@ You can also add entries for other dependencies to the import map - but make sur :::tip Import Maps Browser Support Import maps are supported by default in Chromium-based browsers, so we recommend using Chrome or Edge during the learning process. -If using Firefox, it is only supported in version 102+ and currently needs to be enabled via the `dom.importMaps.enabled` option in `about:config`. +If using Firefox, it is supported by default in version 108+ or by setting the `dom.importMaps.enabled` option to true in `about:config` for versions 102+. If your preferred browser does not support import maps yet, you can polyfill it with [es-module-shims](https://github.com/guybedford/es-module-shims). ::: From 2b8b4b549ff606ac59ae5f124da0874c879af8da Mon Sep 17 00:00:00 2001 From: wahid-moh Date: Fri, 10 Feb 2023 17:57:37 +0100 Subject: [PATCH 013/720] Update quick-start.md (#2181) should add app element to get test done --- src/guide/quick-start.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/guide/quick-start.md b/src/guide/quick-start.md index a615e96ad0..f3b7e01d9c 100644 --- a/src/guide/quick-start.md +++ b/src/guide/quick-start.md @@ -180,6 +180,8 @@ As we dive deeper into the guide, we may need to split our code into separate Ja ```html +
+ ``` -In order to get the instance type of `MyModal`, we need to first get its type via `typeof`, then use TypeScript's built-in `InstanceType` utility to extract its instance type: +In order to get the instance type of `MyModal`, we need to first get its type via `typeof`, then use Vue's `ComponentPublicInstance` utility to extract its instance type: ```vue{5} ``` -In order to get the instance type of `MyModal`, we need to first get its type via `typeof`, then use Vue's `ComponentPublicInstance` utility to extract its instance type: +In order to get the instance type of `MyModal`, we need to first get its type via `typeof`, then use TypeScript's built-in `InstanceType` utility to extract its instance type: ```vue{5} - + diff --git a/src/partners/[partnerId].paths.ts b/src/partners/[partnerId].paths.ts new file mode 100644 index 0000000000..070d87a6cb --- /dev/null +++ b/src/partners/[partnerId].paths.ts @@ -0,0 +1,12 @@ +import partners from './partners.json' +import { normalizeName } from './components/utils' + +export default { + paths: partners.map((p) => { + return { + params: { + partnerId: normalizeName(p.name) + } + } + }) +} diff --git a/src/partners/devsquad.md b/src/partners/devsquad.md deleted file mode 100644 index dd5034b1d4..0000000000 --- a/src/partners/devsquad.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -page: true -footer: false ---- - - - - diff --git a/src/partners/dreamonkey.md b/src/partners/dreamonkey.md deleted file mode 100644 index d00e1b9fe5..0000000000 --- a/src/partners/dreamonkey.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -page: true -footer: false ---- - - - - diff --git a/src/partners/epicmax.md b/src/partners/epicmax.md deleted file mode 100644 index 452c871389..0000000000 --- a/src/partners/epicmax.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -page: true -footer: false ---- - - - - diff --git a/src/partners/jump24.md b/src/partners/jump24.md deleted file mode 100644 index 6d8b10ec47..0000000000 --- a/src/partners/jump24.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -page: true -footer: false ---- - - - - diff --git a/src/partners/monterail.md b/src/partners/monterail.md deleted file mode 100644 index 2acd96566c..0000000000 --- a/src/partners/monterail.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -page: true -footer: false ---- - - - - diff --git a/src/partners/passionatepeople.md b/src/partners/passionatepeople.md deleted file mode 100644 index ec818c85ce..0000000000 --- a/src/partners/passionatepeople.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -page: true -footer: false ---- - - - - diff --git a/src/partners/redberry.md b/src/partners/redberry.md deleted file mode 100644 index 3bf59532e0..0000000000 --- a/src/partners/redberry.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -page: true -footer: false ---- - - - - diff --git a/src/partners/tighten.md b/src/partners/tighten.md deleted file mode 100644 index 0e577d3f39..0000000000 --- a/src/partners/tighten.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -page: true -footer: false ---- - - - - diff --git a/src/partners/vehikl.md b/src/partners/vehikl.md deleted file mode 100644 index 6c3d4d71b6..0000000000 --- a/src/partners/vehikl.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -page: true -footer: false ---- - - - - diff --git a/src/partners/webreinvent.md b/src/partners/webreinvent.md deleted file mode 100644 index 55faa3ddee..0000000000 --- a/src/partners/webreinvent.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -page: true -footer: false ---- - - - - From 1bc0434c0d81f4cd45d96874d0b8982d6e8c9175 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 1 Mar 2023 11:04:44 +0800 Subject: [PATCH 035/720] remove use of reactivity transform --- .vitepress/config.ts | 4 --- .vitepress/theme/components/Banner.vue | 6 ++-- .../theme/components/PreferenceSwitch.vue | 10 +++---- .vitepress/theme/components/SponsorsGroup.vue | 25 ++++++++++------- .vitepress/theme/components/VueJobs.vue | 20 +++++++------ .../theme/components/VueMasteryModal.vue | 4 +-- env.d.ts | 1 - src/about/releases.md | 6 ++-- .../built-ins/keep-alive-demos/CompA.vue | 3 +- .../built-ins/keep-alive-demos/CompB.vue | 3 +- .../keep-alive-demos/SwitchComponent.vue | 5 ++-- src/guide/built-ins/teleport.md | 3 +- .../built-ins/transition-demos/Basic.vue | 3 +- .../transition-demos/BetweenComponents.vue | 4 +-- .../transition-demos/BetweenElements.vue | 6 ++-- .../transition-demos/CssAnimation.vue | 3 +- .../built-ins/transition-demos/JsHooks.vue | 3 +- .../built-ins/transition-demos/ListMove.vue | 11 ++++---- .../transition-demos/ListStagger.vue | 5 ++-- .../transition-demos/NestedTransitions.vue | 3 +- .../built-ins/transition-demos/SlideFade.vue | 3 +- .../essentials/reactivity-fundamentals.md | 25 ----------------- src/guide/extras/demos/Colors.vue | 7 +++-- src/guide/extras/demos/DisabledButton.vue | 8 ++++-- src/guide/extras/demos/ElasticHeader.vue | 18 ++++++------ src/guide/typescript/composition-api.md | 17 ----------- src/partners/components/PartnerAll.vue | 6 ++-- src/partners/components/PartnerCard.vue | 4 +-- src/partners/components/PartnerHero.vue | 4 +-- src/partners/components/PartnerLanding.vue | 9 +++--- src/partners/components/PartnerList.vue | 28 +++++++++++-------- src/partners/components/PartnerPage.vue | 4 +-- 32 files changed, 126 insertions(+), 135 deletions(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 543fbf6e86..bc2e338baf 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -687,9 +687,5 @@ export default defineConfigWithTheme({ json: { stringify: true } - }, - - vue: { - reactivityTransform: true } }) diff --git a/.vitepress/theme/components/Banner.vue b/.vitepress/theme/components/Banner.vue index 088801d7d3..ece803888e 100644 --- a/.vitepress/theme/components/Banner.vue +++ b/.vitepress/theme/components/Banner.vue @@ -5,13 +5,15 @@ * 2. uncomment and update BANNER_ID in ../../inlined-scripts/restorePreferences.ts * 3. update --vt-banner-height if necessary */ +import { ref } from 'vue' + +const open = ref(true) -let open = $ref(true) /** * Call this if the banner is dismissible */ function dismiss() { - open = false + open.value = false document.documentElement.classList.add('banner-dismissed') localStorage.setItem(`vue-docs-banner-${__VUE_BANNER_ID__}`, 'true') } diff --git a/.vitepress/theme/components/PreferenceSwitch.vue b/.vitepress/theme/components/PreferenceSwitch.vue index 088d8bfdcc..d718b1227b 100644 --- a/.vitepress/theme/components/PreferenceSwitch.vue +++ b/.vitepress/theme/components/PreferenceSwitch.vue @@ -1,7 +1,7 @@ diff --git a/.vitepress/theme/components/VueJobs.vue b/.vitepress/theme/components/VueJobs.vue index 85524e8595..d7a2ff78f8 100644 --- a/.vitepress/theme/components/VueJobs.vue +++ b/.vitepress/theme/components/VueJobs.vue @@ -1,8 +1,10 @@