]>
git.ipfire.org Git - thirdparty/vuejs/router.git/log
Eduardo San Martin Morote [Fri, 16 Oct 2020 07:44:48 +0000 (09:44 +0200)]
ci: use custom size check
Eduardo San Martin Morote [Fri, 16 Oct 2020 07:39:56 +0000 (09:39 +0200)]
docs: add removal of unnamed params
Tan Zhen Yong [Fri, 16 Oct 2020 07:34:03 +0000 (15:34 +0800)]
docs: fix typo in migration guide (#534)
Sauli Anto [Tue, 13 Oct 2020 15:45:14 +0000 (18:45 +0300)]
docs: fix useRoute and useRouter typo [skip ci] (#532)
dependabot-preview[bot] [Mon, 12 Oct 2020 20:09:34 +0000 (20:09 +0000)]
build(deps-dev): bump jest from 26.5.0 to 26.5.3
Bumps [jest](https://github.com/facebook/jest) from 26.5.0 to 26.5.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.5.0...v26.5.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 12 Oct 2020 20:07:22 +0000 (20:07 +0000)]
build(deps-dev): bump rollup from 2.28.2 to 2.29.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.28.2 to 2.29.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.28.2...v2.29.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Carter Snook [Mon, 12 Oct 2020 06:52:22 +0000 (01:52 -0500)]
chore: new lines in css [skip ci] (#523)
* Add whitespace
* Code cleanup
* Code cleanup
* Code cleanup
* revert(import order): `ref, onMounted` -> `onMounted, ref`
* revert: self close div
* revert: self close div
Eduardo San Martin Morote [Sun, 11 Oct 2020 11:04:02 +0000 (13:04 +0200)]
docs: improve
Mostafa Salama [Sun, 11 Oct 2020 11:00:37 +0000 (13:00 +0200)]
docs: improve scroll-behavior.md (#522) [skip ci]
fixing the syntax in scroll behavior function, the `el: '#main'` should be in a comment and the element **el** should be in the return object
Eduardo San Martin Morote [Fri, 9 Oct 2020 16:39:52 +0000 (18:39 +0200)]
build: add build:size script [skip ci]
Eduardo San Martin Morote [Wed, 7 Oct 2020 16:08:23 +0000 (18:08 +0200)]
docs(migration): reorder
Eduardo San Martin Morote [Wed, 7 Oct 2020 14:46:29 +0000 (16:46 +0200)]
docs: note about plus character in query
Teun Zwart [Tue, 6 Oct 2020 23:04:51 +0000 (01:04 +0200)]
docs: typo (#518) [skip ci]
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Eduardo San Martin Morote [Tue, 6 Oct 2020 13:04:08 +0000 (15:04 +0200)]
chore: add functional component to playground
Eduardo San Martin Morote [Tue, 6 Oct 2020 12:55:42 +0000 (14:55 +0200)]
feat(warn): improve warning for invalid components
Close #517
Eduardo San Martin Morote [Tue, 6 Oct 2020 12:26:17 +0000 (14:26 +0200)]
docs(encoding): add comment about plus character
Eduardo San Martin Morote [Tue, 6 Oct 2020 12:24:55 +0000 (14:24 +0200)]
docs(migration): improve catch all change
Eduardo San Martin Morote [Tue, 6 Oct 2020 12:24:24 +0000 (14:24 +0200)]
docs(migration): add notes about encoding
dependabot-preview[bot] [Mon, 5 Oct 2020 20:45:21 +0000 (20:45 +0000)]
build(deps-dev): bump jest from 26.4.2 to 26.5.0
Bumps [jest](https://github.com/facebook/jest) from 26.4.2 to 26.5.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.4.2...v26.5.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 5 Oct 2020 20:39:43 +0000 (20:39 +0000)]
build(deps-dev): bump codecov from 3.7.2 to 3.8.0
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.7.2 to 3.8.0.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Changelog](https://github.com/codecov/codecov-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.7.2...v3.8.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 5 Oct 2020 20:38:09 +0000 (20:38 +0000)]
build(deps-dev): bump style-loader from 1.2.1 to 1.3.0
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.2.1...v1.3.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Eduardo San Martin Morote [Mon, 5 Oct 2020 12:28:48 +0000 (14:28 +0200)]
docs: update netlify section
Carter Snook [Mon, 5 Oct 2020 12:20:49 +0000 (07:20 -0500)]
docs: add netlify section for history mode rewrites (#510) [skip ci]
Carter Snook [Sun, 4 Oct 2020 10:41:30 +0000 (05:41 -0500)]
docs: variable misspelled (#509)
Eduardo San Martin Morote [Fri, 2 Oct 2020 13:20:20 +0000 (15:20 +0200)]
chore: regenerate lock
Eduardo San Martin Morote [Fri, 2 Oct 2020 13:07:11 +0000 (15:07 +0200)]
build: fix size check
Eduardo San Martin Morote [Fri, 18 Sep 2020 16:53:31 +0000 (18:53 +0200)]
refactor: use custom size check
Eduardo San Martin Morote [Fri, 2 Oct 2020 11:15:47 +0000 (13:15 +0200)]
release: v4.0.0-beta.13
Eduardo San Martin Morote [Fri, 2 Oct 2020 11:14:42 +0000 (13:14 +0200)]
ci: config debug
Eduardo San Martin Morote [Fri, 2 Oct 2020 11:07:08 +0000 (13:07 +0200)]
ci: add bs test
Eduardo San Martin Morote [Fri, 2 Oct 2020 11:06:06 +0000 (13:06 +0200)]
test(e2e): add browserstack tests
Eduardo San Martin Morote [Fri, 2 Oct 2020 10:07:11 +0000 (12:07 +0200)]
refactor(matcher): parser should throw on invalid path
Eduardo San Martin Morote [Fri, 2 Oct 2020 09:50:39 +0000 (11:50 +0200)]
refactor(matcher): remove dead code
Masaya Kazama [Wed, 30 Sep 2020 11:47:17 +0000 (20:47 +0900)]
feat(warn): help migrating catch all routes
Eduardo San Martin Morote [Fri, 2 Oct 2020 09:24:40 +0000 (11:24 +0200)]
test(e2e): direct navigation encoded
Eduardo San Martin Morote [Fri, 2 Oct 2020 09:19:01 +0000 (11:19 +0200)]
test(e2e): add encoding tests
Eduardo San Martin Morote [Fri, 2 Oct 2020 09:01:25 +0000 (11:01 +0200)]
fix(encoding): differentiate keys and values in query
Eduardo San Martin Morote [Fri, 2 Oct 2020 08:48:48 +0000 (10:48 +0200)]
fix(encoding): decode hash in string location
Eduardo San Martin Morote [Fri, 2 Oct 2020 08:10:01 +0000 (10:10 +0200)]
fix(encoding): keep decoded hash when resolving
Eduardo San Martin Morote [Thu, 1 Oct 2020 08:09:52 +0000 (10:09 +0200)]
test: remove global
Eduard Aksamitov [Wed, 30 Sep 2020 15:54:06 +0000 (18:54 +0300)]
docs: fix extending router-link example (#505)
Mr.Hope [Wed, 30 Sep 2020 15:51:37 +0000 (23:51 +0800)]
docs: fix wrong number in guide page (#507)
dependabot-preview[bot] [Mon, 28 Sep 2020 20:33:27 +0000 (20:33 +0000)]
build(deps-dev): bump rollup from 2.28.1 to 2.28.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.28.1 to 2.28.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.28.1...v2.28.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 28 Sep 2020 20:22:50 +0000 (20:22 +0000)]
build(deps-dev): bump rollup-plugin-typescript2 from 0.27.2 to 0.27.3
Bumps [rollup-plugin-typescript2](https://github.com/ezolenko/rollup-plugin-typescript2) from 0.27.2 to 0.27.3.
- [Release notes](https://github.com/ezolenko/rollup-plugin-typescript2/releases)
- [Commits](https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.27.2...0.27.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 28 Sep 2020 20:21:33 +0000 (20:21 +0000)]
build(deps-dev): bump vue-loader from 16.0.0-beta.7 to 16.0.0-beta.8
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 16.0.0-beta.7 to 16.0.0-beta.8.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v16.0.0-beta.7...v16.0.0-beta.8)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 28 Sep 2020 20:21:01 +0000 (20:21 +0000)]
build(deps-dev): bump @microsoft/api-documenter from 7.8.53 to 7.8.56
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack) from 7.8.53 to 7.8.56.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-documenter_v7.8.53...@microsoft/api-documenter_v7.8.56)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
melenaos [Sun, 27 Sep 2020 17:24:43 +0000 (20:24 +0300)]
Update history-mode.md (#499)
createWebHistory wrong spelling
Eduardo San Martin Morote [Sun, 27 Sep 2020 12:31:03 +0000 (14:31 +0200)]
refactor: warn only in __DEV__
Eduardo San Martin Morote [Sun, 27 Sep 2020 12:30:47 +0000 (14:30 +0200)]
feat: print errors from lazy loading
Close #497
Eduardo San Martin Morote [Sun, 27 Sep 2020 11:37:24 +0000 (13:37 +0200)]
test(ssr): test async components
Eduardo San Martin Morote [Sat, 26 Sep 2020 15:38:57 +0000 (17:38 +0200)]
fix(hash): only pushState the hash part
Fix #495
Eduardo San Martin Morote [Fri, 25 Sep 2020 09:13:24 +0000 (11:13 +0200)]
docs: new demos csb
Eduardo San Martin Morote [Fri, 25 Sep 2020 08:10:40 +0000 (10:10 +0200)]
release: v4.0.0-beta.12
Eduardo San Martin Morote [Fri, 25 Sep 2020 08:09:51 +0000 (10:09 +0200)]
build: remove browser field from package.json
fixes the webpack target to be the esm-bundler like vue
Eduardo San Martin Morote [Tue, 22 Sep 2020 13:36:17 +0000 (15:36 +0200)]
docs: improve examples without component option
dependabot-preview[bot] [Mon, 21 Sep 2020 21:00:55 +0000 (21:00 +0000)]
build(deps-dev): bump ts-jest from 26.3.0 to 26.4.0
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.3.0 to 26.4.0.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.3.0...v26.4.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 21 Sep 2020 20:51:14 +0000 (20:51 +0000)]
build(deps-dev): bump @microsoft/api-documenter from 7.8.49 to 7.8.53
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack) from 7.8.49 to 7.8.53.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-documenter_v7.8.49...@microsoft/api-documenter_v7.8.53)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 21 Sep 2020 20:40:45 +0000 (20:40 +0000)]
build(deps-dev): bump ts-loader from 8.0.3 to 8.0.4
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 8.0.3 to 8.0.4.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.3...8.0.4)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 21 Sep 2020 20:29:48 +0000 (20:29 +0000)]
build(deps-dev): bump html-webpack-plugin from 4.4.1 to 4.5.0
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v4.4.1...v4.5.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 21 Sep 2020 20:30:51 +0000 (20:30 +0000)]
build(deps-dev): bump @rollup/plugin-commonjs from 15.0.0 to 15.1.0
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 15.0.0 to 15.1.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v15.0.0...commonjs-v15.1.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 21 Sep 2020 20:29:24 +0000 (20:29 +0000)]
build(deps-dev): bump rollup from 2.27.1 to 2.28.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.27.1 to 2.28.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.27.1...v2.28.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 21 Sep 2020 20:28:26 +0000 (20:28 +0000)]
build(deps-dev): bump webpack from 4.44.1 to 4.44.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.1 to 4.44.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.1...v4.44.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 21 Sep 2020 20:27:28 +0000 (20:27 +0000)]
build(deps-dev): bump typescript from 4.0.2 to 4.0.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.2...v4.0.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Eduardo San Martin Morote [Mon, 21 Sep 2020 08:32:22 +0000 (10:32 +0200)]
docs: fix named views
Eduardo San Martin Morote [Mon, 21 Sep 2020 07:29:52 +0000 (09:29 +0200)]
docs: add note about routes being required
HuangYi [Mon, 21 Sep 2020 07:24:34 +0000 (15:24 +0800)]
docs: typo (#478) [skip ci]
jc [Mon, 21 Sep 2020 07:19:10 +0000 (15:19 +0800)]
docs: format (#477) [skip ci]
Eduardo San Martin Morote [Sun, 20 Sep 2020 19:26:43 +0000 (21:26 +0200)]
docs: note about router-view slot
From #475
Shinigami [Sun, 20 Sep 2020 16:57:10 +0000 (18:57 +0200)]
fix(types): extend @vue/runtime-core module (#473)
`declare module 'vue'` seems only to work if there is no other additional plugin
Eduardo San Martin Morote [Sun, 20 Sep 2020 08:33:54 +0000 (10:33 +0200)]
release: v4.0.0-beta.11
Eduardo San Martin Morote [Sun, 20 Sep 2020 08:33:11 +0000 (10:33 +0200)]
chore: mark Vue 3 as peer dep
Eduardo San Martin Morote [Sun, 20 Sep 2020 08:27:28 +0000 (10:27 +0200)]
fix: use post flush in modal example
Eduardo San Martin Morote [Sun, 20 Sep 2020 08:04:12 +0000 (10:04 +0200)]
fix(guards): use post watcher for instances
fixes the context being wrong inside components guards
Eduardo San Martin Morote [Fri, 18 Sep 2020 11:49:07 +0000 (13:49 +0200)]
docs: more details about custom
Eduardo San Martin Morote [Fri, 18 Sep 2020 09:58:39 +0000 (11:58 +0200)]
release: v4.0.0-beta.10
Eduardo San Martin Morote [Fri, 18 Sep 2020 09:35:05 +0000 (11:35 +0200)]
docs: remove old link
Eduardo San Martin Morote [Fri, 18 Sep 2020 09:31:20 +0000 (11:31 +0200)]
docs: add thesemetrics
Eduardo San Martin Morote [Fri, 18 Sep 2020 09:22:02 +0000 (11:22 +0200)]
chore: update readme [skip ci]
Eduardo San Martin Morote [Fri, 18 Sep 2020 08:39:59 +0000 (10:39 +0200)]
build: adapt browser file name to match vue and vuex [skip ci]
Eduardo San Martin Morote [Fri, 18 Sep 2020 08:26:04 +0000 (10:26 +0200)]
docs: remove unused import [skip ci]
Eduardo San Martin Morote [Fri, 18 Sep 2020 08:24:28 +0000 (10:24 +0200)]
docs: fix broken links
Eduardo San Martin Morote [Fri, 18 Sep 2020 08:21:37 +0000 (10:21 +0200)]
docs: fix link
Eduardo San Martin Morote [Fri, 18 Sep 2020 08:17:36 +0000 (10:17 +0200)]
docs: reorder links
Eduardo San Martin Morote [Thu, 17 Sep 2020 22:40:10 +0000 (00:40 +0200)]
docs: fix ssr
Eduardo San Martin Morote [Thu, 17 Sep 2020 22:25:37 +0000 (00:25 +0200)]
chore: up deps
Eduardo San Martin Morote [Thu, 17 Sep 2020 22:00:28 +0000 (00:00 +0200)]
docs: upgrade vitepress
Eduardo San Martin Morote [Thu, 17 Sep 2020 19:17:35 +0000 (21:17 +0200)]
docs: add theme for ads for next vitepress
Eduardo San Martin Morote [Thu, 17 Sep 2020 18:43:54 +0000 (20:43 +0200)]
docs: add config for ads
Eduardo San Martin Morote [Tue, 15 Sep 2020 13:18:54 +0000 (15:18 +0200)]
docs: add carbonads
Eduardo San Martin Morote [Tue, 15 Sep 2020 13:17:29 +0000 (15:17 +0200)]
docs: fix links and add dynamic route matching
dependabot-preview[bot] [Mon, 14 Sep 2020 19:49:34 +0000 (19:49 +0000)]
build(deps-dev): bump @microsoft/api-documenter from 7.8.42 to 7.8.47
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack) from 7.8.42 to 7.8.47.
- [Release notes](https://github.com/microsoft/rushstack/releases)
- [Commits](https://github.com/microsoft/rushstack/compare/@microsoft/api-documenter_v7.8.42...@microsoft/api-documenter_v7.8.47)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 14 Sep 2020 19:47:59 +0000 (19:47 +0000)]
build(deps-dev): bump nightwatch from 1.4.1 to 1.4.2
Bumps [nightwatch](https://github.com/nightwatchjs/nightwatch) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/nightwatchjs/nightwatch/releases)
- [Commits](https://github.com/nightwatchjs/nightwatch/compare/v1.4.1...v1.4.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Eduardo San Martin Morote [Mon, 14 Sep 2020 12:18:02 +0000 (14:18 +0200)]
docs: codesandbox links
Eduardo San Martin Morote [Mon, 14 Sep 2020 10:19:06 +0000 (12:19 +0200)]
docs(api): add route location normalized
Eduardo San Martin Morote [Mon, 14 Sep 2020 09:56:53 +0000 (11:56 +0200)]
docs(api): fix links
Eduardo San Martin Morote [Mon, 14 Sep 2020 09:06:24 +0000 (11:06 +0200)]
docs(api): more docs
Eduardo San Martin Morote [Fri, 11 Sep 2020 16:40:30 +0000 (18:40 +0200)]
chore: add sample go to playground
Eduardo San Martin Morote [Fri, 11 Sep 2020 16:23:02 +0000 (18:23 +0200)]
feat(router): remove partial Promise from router.go
BREAKING CHANGE: The `router.go()` methods doesn't return anything
(like in Vue 3) anymore. The existing implementation was wrong as it
would resolve the promise for the following navigation if `router.go()`
was called with something that wasn't possible e.g. `router.go(-20)`
right after entering the application would not do anything. Even worse,
the promise returned by that call would resolve **after the next
navigation**. There is no proper native API to implement this
promise-based api properly, but one can write a version that should work
in most scenarios by setting up multiple hooks right before calling
`router.go()`:
```js
export function go(delta) {
return new Promise((resolve, reject) => {
function popStateListener() {
clearTimeout(timeout)
}
window.addEventListener('popstate', popStateListener)
function clearHooks() {
removeAfterEach()
removeOnError()
window.removeEventListener('popstate', popStateListener)
}
// if the popstate event is not called, consider this a failure
const timeout = setTimeout(() => {
clearHooks()
reject(new Error('Failed to use router.go()'))
// It's unclear of what value would always work here
}, 10)
setImmediate
const removeAfterEach = router.afterEach((_to, _from, failure) => {
clearHooks()
resolve(failure)
})
const removeOnError = router.onError(err => {
clearHooks()
reject(err)
})
router.go(delta)
})
}
```
Eduardo San Martin Morote [Fri, 11 Sep 2020 16:15:45 +0000 (18:15 +0200)]
docs(api): navigation guard
Eduardo San Martin Morote [Fri, 11 Sep 2020 15:26:27 +0000 (17:26 +0200)]
docs(api): routerecord.props