Commit Graph

18 Commits

Author SHA1 Message Date
Xin Du (Clark) 30419e73f2
fix(vue-app): remove trailing slash in vue-router non-strict mode (#5746) 2019-05-17 10:39:52 +01:00
Rafał Chłodnicki 5d5a32b556 fix(vue-app): don't attach catch handler to already loaded component (fixes #5751) (#5752) 2019-05-17 00:01:12 +04:30
Rafał Chłodnicki 8588ca9a7e fix(vue-app): Followup for fix for handle prefetch error (#5687) (#5690) 2019-05-10 10:56:28 +01:00
Rafał Chłodnicki be18b31525 fix(vue-app): properly catch component loading error (#5687) (#5688) 2019-05-10 13:20:50 +04:30
Hyunje Jun 2a66d1952e fix(vue-app): consider `watchQuery` option in `routerViewKey` (#5516) 2019-05-09 16:23:59 +04:30
phof b2abb499f8 Fixes #4882 (#4893) 2019-01-30 14:01:39 +00:00
Xingkai Wang fe57a5a929 fix: $nuxt is used instead of globalName (#4743) 2019-01-21 16:53:07 +03:30
Pim 605b76073b chore: lint vue-app templates (#4689) 2019-01-06 11:26:59 +03:30
Clark Du 0c15b29f7a fix: wrong type checking for loading.duration
[release]
2019-01-03 13:33:29 +00:00
Clark Du e77c2db93e fix: use triple equals in loading.throttle [release] 2019-01-03 13:31:00 +00:00
Clark Du 2d7480457d fix: loading.throttle can not be 0 2019-01-03 13:24:56 +00:00
Sébastien Chopin f319033928
feat(nuxt-link): Smart prefetching and $nuxt.isOffline (#4574)
* feat(nuxt-link): Improve <n-link> and add automatic prefetch

* Update packages/vue-app/template/components/nuxt-link.js

Co-Authored-By: Atinux <seb@orion.sh>

* add missing space

* feat(nuxt-link): Split in two components for smaller bundle

* fix(vue-app): Use requestIdleCallback

* chore(vue-app): Improve nuxt prefetch strategy for nuxt links

* chore(vue-app): Add .isOnline and handle it for prefetch

* chore(vue-app): Add .isOffline and use it

* chore(vue-app): Add .isOffline

* chore(server): Check is options.modern is given in dev mode

* chore(vue-app): Add intersection-observer polyfill if router.prefetchLinks is 'polyfill'

* chore(vue-app): Remove polyfill

* chore(vue-app): Use only process.client

* chore(vue-app): Add TS typings for .isOnline and isOffline

* chore(vue-app): Update typings by @kevinmarrec

* chore(vue-app): Reorder names

* examples(nuxt-prefetch): Add Nuxt prefetching example

* chore(vue-app): Add router.linkPrefetchedClass

* lint(vue-app): Fix lint

* chore(vue-app): Use intersectionRatio, recommend by @maoberlehner

* fix(lint): Fix linting issues

* lint(vue-app): Fix again (lol)

* types(vue-app): Update TS typings

* chore(vue-app): Update Vetur tags description

* fix(vue-app): Use prefetchClass

* chore(vue-app): Disable linkPrefetchedClass by default
2018-12-28 17:27:03 +01:00
Dmitry Molotkov 8dc15d07b7 fix: allow keepAliveProps for nuxt component (#4610)
[skip ci]
2018-12-23 11:13:36 +03:30
Andrey Shertsinger b1b9e0bcbc feat(vue-app): support named views (#4410)
* support named views for extendRoutes config

* fix lint errors

* fix lint errors 2

* some refactoring

* var rename

* fixture & unit tests

* fix: style

* nuxt-child named view example and test

* nuxt element with named view in layout

* lint
2018-12-20 16:50:22 +01:00
ousiri 431cc15617 fix: keepAliveProps broken in <nuxt-child> (#4521) 2018-12-11 11:11:15 +01:00
Clark Du 52a92fbc48 refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
Alexander Lichter ecdc7bcc25 fix(progress-bar): allow 0 for values and remove duplicate defaults (#4397) 2018-11-24 22:00:28 +03:30
Pooya Parsa 39b558f59c
refactor core into sub-packages (#4202) 2018-10-31 00:12:53 +03:30