From a046a9a2d4cbd1953866d3d6dd75dd3496ef0d42 Mon Sep 17 00:00:00 2001 From: Philipp Scheit Date: Mon, 10 May 2021 04:44:33 +0200 Subject: [PATCH] document that name is a valid getter, too --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 57bab9f..d11e4df 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ sync(store, router, { moduleName: 'RouteModule' } ) store.state.route.path // current path (string) store.state.route.params // current params (object) store.state.route.query // current query (object) + store.state.route.name // current name from route (string) ``` - When the router navigates to a new route, the store's state is updated.