Commit Graph

122 Commits

Author SHA1 Message Date
Pim
8f0f16b076 chore: lint vue-app templates (#6390) 2019-09-10 11:51:14 +02:00
Pim
174c13d56c feat(vue-app): support configurable features (#6287) 2019-09-05 17:15:27 +02:00
Pim
e78e8b4b7d feat(builder): support adding custom middlewares (#6342) 2019-09-02 12:53:52 +02:00
Pim
93a0924754 fix(vue-app): prevent looping on error during render of error page (#6217) 2019-09-01 16:58:56 +02:00
Xin Du (Clark)
e9c4bcfee2
feat(vue-app): function watchQuery (#6297) 2019-08-31 19:23:11 +01:00
Xin Du (Clark)
d85d2fb612
Revert "feat: function watchQuery (#6245)" (#6296)
This reverts commit 3c61830a0d.
2019-08-25 10:53:23 +01:00
Xin Du (Clark)
3c61830a0d
feat: function watchQuery (#6245) 2019-08-25 10:12:59 +01:00
Pim
662a409056 fix(vue-app): only overwrite leave listener when none provided or without done arg (#6264) 2019-08-21 16:06:52 +04:30
Sébastien Chopin
fda1b1b54b fix(vue-app): enforce default css when used with frameworks (#6255) 2019-08-20 20:45:36 +04:30
Xin Du (Clark)
c6a9b37821 feat(vue-app): support functional watchQuery (#6222) 2019-08-19 00:05:16 +04:30
Ricardo Gobbo de Souza
2ad6bf2a08 feat(vue-app): export router options (#6231) 2019-08-15 00:08:25 +04:30
Sébastien Chopin
09878cd6dc
feat(vue-app): add $nuxt.refresh() (#6194)
* feat(vue-app): add $nuxt.refreshPageData()

* hotifx: lint

* chore: use getMatchedComponentsInstance util

* fix: rename to refreshPage

* fix: rename to refresh

* feat: add $nuxt.$context and handle error

* feat: set $nuxt.context

* hotfix: test
2019-08-07 15:12:02 +02:00
Sébastien Chopin
9cc3e34673 feat(vue-app): use EventSource instead of WebSocket for build indicator (#6186) 2019-08-05 20:15:33 +04:30
Sébastien Chopin
f7cb3dae0f feat(vue-app): support app/router.scrollBehavior.js and deprecate scrollBehavior (#6055) 2019-07-24 16:05:50 +04:30
Farzad Soltani
9909bdb534 chore: fix typo (#6065) 2019-07-13 23:27:07 +04:30
bluelovers
9524bcae5e feat(vue-app): add <client-only> alias for <no-ssr> (#5941) 2019-07-04 16:47:45 +01:00
Pim
ac723e6ca6 fix(vue-app): emit triggerScroll to support hash navigation (#6012) 2019-07-03 13:34:51 +04:30
Sébastien Chopin
329f0f5f36 fix(vue-app): fix font-size and make width bigger (#5920) 2019-06-14 22:05:21 +04:30
Pim
2a2bf9b93d fix(vue-app): always finish transition.leave asynchronously (#5891) 2019-06-14 21:58:03 +04:30
Rafał Chłodnicki
0e2965319d fix(vue-app): fix position of the build indicator when page scrolled (#5890) 2019-06-07 01:54:33 +04:30
Pooya Parsa
cb1b980d8a
feat(vue-app): allow customizing loading indicator (#5844) 2019-06-06 12:39:28 +04:30
Rafał Chłodnicki
ab72355669 fix(vue-app): fix exception on property access of undefined object (#5867) 2019-06-05 00:18:56 +04:30
Pooya Parsa
0c3b9c5d12
fix(vue-app): reduce consola direct access (#5864) 2019-06-04 19:18:45 +04:30
Alexander Lichter
2e41bb47b5 refactor(vue-app): simplify mount error log (#5826)
* separately log mount error in dev mode
* simplify mount exception

Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-05-30 14:28:37 +01:00
Sébastien Chopin
0d5b49dcbc fix(vue-app): update build indicator style (#5834) 2019-05-30 15:57:41 +04:30
Pooya Parsa
f39fe2279e
refactor: improve build indicator (#5832)
[release]
2019-05-30 14:33:57 +04:30
Elevista
3142ce15d8 fix(vue-app): fixPrepatch in-out transition fix (#5797) (#5824) 2019-05-30 09:04:37 +02:00
Pooya Parsa
a759196865 feat(vue-app): build indicator (#5820)
* feat: inline HMR progress indicator

* support router base

* fix nuxt err

* fix space

* fix indentation

* return in case of ws message parsing error

* close ws on beforeDestroy

* ui: Update loading indicator UI

* builder: Add build.indicator option

* ui: Use only logo and %

* hotfix: Alphabetical order

* hotfix: Add fixed with and add back v-if

* minor style change

* rename component to build-indicator

* feat: animated progress

* assign name to component

* update test

* naming consistency

* render into app to prevent dom wrapping

* extra new line

* better App.js formatting

* update snapshot

* clear interval
2019-05-29 16:44:15 +02:00
Pooya Parsa
09620d58a9 feat: improve browser logs (#5810) 2019-05-27 09:32:53 +01:00
Xin Du (Clark)
21aaef3b48 feat(vue-renderer): support render.ssrLog for controlling SSR logs (#5784) 2019-05-23 14:19:16 +04:30
Xin Du (Clark)
a764e1f90d refactor(vue-app): add group for ssr logs (#5770) 2019-05-21 11:19:16 +02:00
Jun
7084b3a126 fix(vue-app): reuse page component with watchQuery (#5757) 2019-05-19 23:27:20 +04:30
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
Alexander Lichter
d08ce2f628 refactor: small readability improvements (#5748) 2019-05-16 14:38:44 +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
Sébastien Chopin
4b11dcc9ad feat(vue-renderer/vue-app): report SSR console logs to the browser with consola (#5673) 2019-05-09 11:36:17 +04:30
Pooya Parsa
5ebf1cc78c
fix: avoid using aliases in templates (#5656) 2019-05-06 15:16:04 +04:30
pooya parsa
912ef25fce revert(vue-app): "expect 0 to be defined"
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-04-23 00:38:27 +04:30
Sébastien Chopin
01acf66c67 feat(vue-app): rename transition to pageTransition and deprecate it (#5558) 2019-04-20 14:31:59 +04:30
Xin Du (Clark)
30c2b9542e
chore: revert vue-router temp fix (#5490) 2019-04-16 13:38:25 +01:00
noe132
2d73e8aeba fix(vue-app): prevent mounting page twice on redirect (#5361) 2019-03-29 18:36:35 +04:30
Johan Roxendal
77dcfe6ee8 fix(vue-app): decode uri in getlocation (#5337) 2019-03-23 13:10:38 +04:30
Alexander Lichter
3ac01df488 fix(vue-app): decode router base to support unicode characters (#5297) 2019-03-20 20:16:09 +03:30
Nianyong
cf02e8226a fix(vue-app): duplicated router.base when using context.redirect(object) (#5290) 2019-03-20 15:39:14 +03:30
Sébastien Chopin
ef41e205e6 feat: loading screen (#5251)
[release]
2019-03-20 12:47:53 +03:30
Michael Leaney
d03a61b040 fix(vue-app): multiple named views cause invalid syntax (#5262) 2019-03-19 10:25:20 +00:00
Alexander Lichter
37006f6267 fix(vua-app): clone mount error to prevent mutating read-only error object (#5214) 2019-03-13 01:37:38 +03:30