Ahad Birang
bceddf5bcf
feat(router): add support for props and alias ( #3818 )
2018-09-01 09:03:28 +04:30
Alexander Lichter
e26f23b74a
feat: respect beforeEnter for route if set ( #3760 )
...
* feat: respect beforeEnter for route if set
* test: add redirecting beforeEnter function and test
2018-08-18 18:15:37 +02:00
Jonas Galvez
3f1d634fb7
Consistent parens in arrow functions ( #3630 )
...
* Minor consistency enhancements
* Arrow parenthesis consistency
* Change linting rule
* Fix typo
* Update .eslintrc.js to only require parens for blocks
* Update style according to brace-only suggestion
* Remove --fix from lint
* Tweak no-loading time (failing test)
* Tweak no-loading time (failing test) (2)
* Tweak no-loading time (failing test) (3)
* Tweak no-loading time (failing test) (4)
* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
GU Yiling
b5f6ed1332
fix: inject scrollBehavior in a more tolerant way ( #3560 )
...
Currently we cannot define `scrollBehavior` like:
```js
scrollBehavior () { // ← we can have space before the parenthesis
// ...
}
```
Fixed this by using a `RegExp` to be more tolerant.
2018-07-20 16:26:03 +01:00
Pooya Parsa
8feeeb0cfe
Revert "feat: add webpackPrefetch to initial async chunk options (webpack 4.6.0)"
...
This reverts commit 09b141efa4
.
2018-05-02 14:29:55 +04:30
Pooya Parsa
aec6828892
feat: add webpackPrefetch to initial async chunk options (webpack 4.6.0)
2018-05-02 14:29:55 +04:30
rockywu 吴佳雷
3e62642908
add extendRoutes Support for meta properties
2018-04-18 15:20:37 +08:00
Pooya Parsa
0ce8d88f38
feat: make optimization and splitChunks configurable
2018-03-19 22:10:33 +03:30
William Chong
8cb4188aa0
add support to vue-router redirect in extendRoutes
2018-03-15 19:56:50 +08:00
Pooya Parsa
86d0031ae6
feat: splitPages
2018-03-13 18:06:49 +03:30
Sébastien Chopin
a89a0f7ca9
Update router.js
2018-03-01 18:31:19 +03:30
devneko
5f55bf76bd
fix DOMException when using an url-hash that is not valid as css selector
2018-03-01 18:31:19 +03:30
Sébastien Chopin
358e2f32fd
minor: Improve scrollBehavior to work with transitions, resolve #1376 , thanks to @homerjam
2018-01-31 16:13:28 +01:00
Sébastien Chopin
679d48c8c0
Update router.js
2017-11-14 10:28:18 +01:00
Clark Du
8eb519b16b
feat: add parseQuery and stringifyQuery for router
2017-11-14 11:06:06 +08:00
Artur Wronski
d4563b7f85
fix: compile error when using scrollBehavior
...
When compiling with babel as middleware the scrollBehavior function was transpiling in
incorrect way. Double function function
fixes #1516
2017-08-29 14:19:06 +02:00
Sebastien Chopin
7bc1b35b21
fix: Use file path for chunkName
2017-08-25 12:34:59 +02:00
Pooya Parsa
cafc94d9f9
fix problem with route chunk names ( #1461 )
2017-08-25 01:36:56 +04:30
Pooya Parsa
1cc2c6b5b0
wChunk
2017-08-17 21:48:56 +04:30
Pooya Parsa
6d9d949864
fix windows paths
2017-08-17 21:29:17 +04:30
Pooya Parsa
a9f2f299a3
chore: minor olishes
2017-07-10 03:10:09 +04:30
Pooya Parsa
a2f62b3bbd
fix: support for vue-loader 13.0.0
...
https://github.com/vuejs/vue-loader/releases/tag/v13.0.0
2017-07-05 02:56:42 +04:30
Sebastien Chopin
70a75f4e42
Compatible with IE9+
2017-07-04 18:30:01 +02:00
Pooya Parsa
447e85af14
depricated ~ in flavour of @ for aliases
2017-06-29 21:06:22 +04:30
Sebastien Chopin
e1126d799c
Use relative path
2017-06-20 19:12:06 +02:00
Pooya Parsa
766009dbba
Cleaner structure
2017-06-18 12:06:00 +04:30
Pooya Parsa
829ffa634b
refactor structure
2017-06-16 17:12:45 +04:30
Andrii Korzh
4beaecdc5c
add linkExactActiveClass
...
Pass linkExactActiveClass to router options
2017-05-09 21:46:11 +03:00
Evan You
74652e3974
make use of runInNewContext: false
2017-05-02 13:33:09 +04:30
Sébastien Chopin
2eecb8c0de
Add webpackChunkName
2017-04-17 18:15:37 +02:00
Sébastien Chopin
64f83b71c3
Vue 2.2 and styles included
2017-03-22 15:47:34 +01:00
Sébastien Chopin
8253f5e75b
Add plugin ssr option & rename process.browser
2017-03-01 17:54:44 +01:00
cj
c40259877b
allow router mode to be set in config
2017-02-17 02:43:48 -06:00
Sébastien Chopin
d9fe4b9612
Add scrollBehavior option
2017-01-26 15:56:47 +01:00
Sébastien Chopin
4cbd6d6a28
Improve comments
2017-01-26 15:21:21 +01:00
Sébastien Chopin
55f907877e
Normalize components
2017-01-20 18:32:43 +01:00
Sébastien Chopin
be6562f244
Add _name in router template
2017-01-19 16:25:55 +01:00
Sébastien Chopin
f82bde9d1c
Add scrollToTop option
2016-12-27 14:53:14 +01:00
Sébastien Chopin
f8c7b5c012
Add validate option
2016-12-12 16:30:07 +01:00
Alexandre Chopin
32a6f30118
delete option routes.router
2016-12-12 14:16:47 +01:00
Alexandre Chopin
d09fdfb78e
scoop position nested routes
2016-12-11 16:40:18 +01:00
Alexandre Chopin
0b8b85128f
Nested dynamic routes
...
Build and Router
2016-12-11 01:46:04 +01:00
Sébastien Chopin
40515ac91a
Update dept and start next generate
2016-11-24 01:47:11 +01:00
Alexandre Chopin
b8436b067f
Fix duplicate routes and hidden files
2016-11-20 12:23:48 +01:00
Sébastien Chopin
a9ae6e0360
Use vie-meta and webpack 26
2016-11-14 23:59:54 +01:00
Sébastien Chopin
ea1c5dee15
config.router + base + linkClassActive
2016-11-10 17:16:37 +01:00
Sébastien Chopin
c97c4ec32e
watch pages/ dir to updates routes dynamically
2016-11-10 03:38:11 +01:00
Sébastien Chopin
1bd8a63f9e
npm ignore, route meta and documentation
2016-11-08 01:04:26 +01:00
Sébastien Chopin
7dd959bd21
Fix route name in 0.1.7
2016-11-07 21:42:48 +01:00
Sébastien Chopin
cf24b926a1
Version 0.1.6
...
- Add example /custom-routes/
- Rename example/with-store/ to examples/vuex-store/
- Feature: Add .vue at the end of the component if not specified in
custom routes
- Feature: Add .params and .query in the context
- Feature: Add .name in route if given in custom routes
2016-11-07 21:38:51 +01:00