diff --git a/CHANGELOG.md b/CHANGELOG.md index 1df22cace..520f3ff13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [3.6.5](https://github.com/vuejs/vue-router/compare/v3.6.4...v3.6.5) (2022-09-06) + +### Bug Fixes + +- **types:** Component with 4 generics for Vue 2.6 ([d6064df](https://github.com/vuejs/vue-router/commit/d6064df1112497dac98e4302d81607efdb1a58c6)), closes [#3786](https://github.com/vuejs/vue-router/issues/3786) + ## [3.6.4](https://github.com/vuejs/vue-router/compare/v3.6.3...v3.6.4) (2022-08-25) This release fixes some compatibility issues of the new `vue-router/composables` with webpack 4. @@ -32,7 +38,7 @@ This release fixes some compatibility issues of the new `vue-router/composables` This release of Vue Router introduces composables from Vue Router 4: ```js -import { useRoute, useRouter, useLink, onBeforeRouteUpdate onBeforeRouteLeave } from 'vue-router/composables' +import { useRoute, useRouter, useLink, onBeforeRouteUpdate, onBeforeRouteLeave } from 'vue-router/composables' ``` Since these composables **require Vue 2.7**, they are only exposed under `vue-router/composables` submodule, so it shouldn't affect you if you stay on Vue 2.6 (Note there are no new features or fixes besides the composables in this release). Refer to [the Vue Router 4 API documentation](https://router.vuejs.org/api/#onbeforerouteleave) for details on the composables. diff --git a/README.md b/README.md index f7314e1a7..3c5b93bec 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # vue-router [![Build Status](https://img.shields.io/circleci/project/github/vuejs/vue-router/dev.svg)](https://circleci.com/gh/vuejs/vue-router) -> This is vue-router 3.0 which works only with Vue 2.0. +> This is vue-router 3.0 which works only with Vue 2.0. and both have reached end of life. +> > - For the 1.x router see the [1.0 branch](https://github.com/vuejs/vue-router/tree/1.0). > - For Vue Router 4 (for Vue 3) see [vuejs/router](https://github.com/vuejs/router). @@ -71,25 +72,25 @@ Vue Router is part of the Vue Ecosystem and is an MIT-licensed open source proje --- -Get started with the [documentation](http://router.vuejs.org), or play with the [examples](https://github.com/vuejs/vue-router/tree/dev/examples) (see how to run them below). +Get started with the [documentation](http://v3.router.vuejs.org), or play with the [examples](https://github.com/vuejs/vue-router/tree/dev/examples) (see how to run them below). ### Development Setup ```bash # install deps -npm install +yarn # build dist files -npm run build +yarn build # serve examples at localhost:8080 -npm run dev +yarn dev # lint & run all tests -npm test +yarn test # serve docs at localhost:8080 -npm run docs +yarn docs ``` ## Releasing diff --git a/docs/.vuepress/components/sponsors.json b/docs/.vuepress/components/sponsors.json index c0843da0c..e9c704b39 100644 --- a/docs/.vuepress/components/sponsors.json +++ b/docs/.vuepress/components/sponsors.json @@ -1,13 +1,6 @@ { "platinum": [], - "gold": [ - { - "href": "https://vuejobs.com/?utm_source=vuerouter&utm_campaign=sponsor", - "alt": "VueJobs", - "imgSrcLight": "https://posva-sponsors.pages.dev/logos/vuejobs.svg", - "imgSrcDark": "https://posva-sponsors.pages.dev/logos/vuejobs.svg" - } - ], + "gold": [], "silver": [ { "href": "https://www.vuemastery.com/", @@ -31,7 +24,7 @@ }, { "alt": "Antony Konstantinidis", - "href": "www.vuejs.de", + "href": "https://www.vuejs.de", "imgSrcDark": "https://avatars.githubusercontent.com/u/4183726?u=6b50a8ea16de29d2982f43c5640b1db9299ebcd1&v=4", "imgSrcLight": "https://avatars.githubusercontent.com/u/4183726?u=6b50a8ea16de29d2982f43c5640b1db9299ebcd1&v=4" }, @@ -45,7 +38,7 @@ "href": "https://nuxtjs.org", "imgSrcLight": "https://posva-sponsors.pages.dev/logos/nuxt-light.svg", "imgSrcDark": "https://posva-sponsors.pages.dev/logos/nuxt-dark.svg", - "alt": "NuxtJS" + "alt": "Nuxt Labs" } ] } diff --git a/docs/.vuepress/theme/Layout.vue b/docs/.vuepress/theme/Layout.vue index a27d64a62..e0c985ad0 100644 --- a/docs/.vuepress/theme/Layout.vue +++ b/docs/.vuepress/theme/Layout.vue @@ -1,12 +1,14 @@