From fd49bbd085e9df7804994ea188f94384ac22e048 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Fri, 22 May 2020 10:28:51 +0200 Subject: [PATCH] docs(types): add notes about breaking typis Close #264 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index c2528ad3..e6358d8a 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,16 @@ Check the [playground](https://github.com/vuejs/vue-router-next/tree/master/play }) ``` +### Typings + +To make typings more consistent and expressive, some types have been renamed. Keep in mind these can change until stable release to ensure consistency. Some types might have changed as well. + +| `vue-router@3` | `vue-router@4` | +| -------------- | ----------------------- | +| RouteConfig | RouteRecordRaw | +| Location | RouteLocation | +| Route | RouteLocationNormalized | + #### Improvements These are technically breaking changes but they fix an inconsistent behavior. -- 2.39.5