Pim
3eb1710b6d
test(vue-app): add template compiler helper ( #6299 )
2019-08-25 13:31:17 +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
pooya parsa
a11d971969
reorder package.json
2019-08-20 15:43:45 +04:30
pooya parsa
0157b971de
v2.9.1
2019-08-20 15:41:35 +04:30
Kevin Marrec
7fc23cd434
fix(vue-app): provide typescript backward compatibility
2019-08-20 15:38:08 +04:30
pooya parsa
ce3b456961
v2.9.0
2019-08-20 12:51:10 +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
renovate[bot]
cb22d841fe
chore(deps): update all non-major dependencies ( #6193 )
2019-08-09 15:04:17 +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
Kevin Marrec
b2def683ba
chore: remove types remaining from #5858 ( #6188 )
2019-08-05 15:27:04 +04:30
renovate[bot]
da4615a160
chore(deps): update all non-major dependencies ( #6180 )
2019-08-04 15:24:01 +01:00
renovate[bot]
edf5e66e3c
chore(deps): update dependency vue-meta to ^2.2.0 ( #6153 )
2019-07-28 22:14:22 +01:00
renovate[bot]
1ebf6cbfa0
chore(deps): update all non-major dependencies ( #6121 )
2019-07-27 09:55:08 +01:00
Sébastien Chopin
f7cb3dae0f
feat(vue-app): support app/router.scrollBehavior.js
and deprecate scrollBehavior
( #6055 )
2019-07-24 16:05:50 +04:30
Kevin Marrec
81b5ce22ce
feat: externalize typescript support ( #5858 )
2019-07-24 11:56:44 +04:30
renovate[bot]
a974834073
chore(deps): update all non-major dependencies ( #6056 )
2019-07-15 18:12:59 +01:00
Farzad Soltani
9909bdb534
chore: fix typo ( #6065 )
2019-07-13 23:27:07 +04:30
Clark Du
55e95edd0e
chore: order package.json
2019-07-09 19:24:42 +01:00
bluelovers
9524bcae5e
feat(vue-app): add <client-only> alias for <no-ssr> ( #5941 )
2019-07-04 16:47:45 +01:00
renovate[bot]
4af844cb35
chore(deps): update all non-major dependencies ( #6027 )
2019-07-04 17:29:14 +04:30
Pim
ac723e6ca6
fix(vue-app): emit triggerScroll
to support hash navigation ( #6012 )
2019-07-03 13:34:51 +04:30
renovate[bot]
75c724e24e
feat: update vue-meta to v2 ( #5899 )
2019-06-28 03:04:47 +04:30
orblazer
1b634779f8
feat(types): add vuex definition ( #5946 )
2019-06-24 21:26:54 +04:30
orblazer
86d4613d9c
feat(types): add nuxt error type ( #5950 )
2019-06-24 21:26:07 +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
pooya parsa
2fabea9402
v2.8.1
2019-06-05 00:55:47 +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
pooya parsa
7622d66866
v2.8.0
2019-05-30 21:37:38 +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
renovate[bot]
119bbfc3e8
chore(deps): update all non-major dependencies ( #5749 )
2019-05-16 12:57:55 +04:30
pooya parsa
0f609dfb37
v2.7.1
2019-05-14 23:24:56 +04:30
pooya parsa
5a98230ec6
v2.7.0
2019-05-14 17:05:38 +04:30
Kevin Marrec
732be3288e
fix(ts): fix context.app
type ( #5701 )
2019-05-11 21:20:36 +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
renovate[bot]
2f5646bae4
chore(deps): update dependency vuex to ^3.1.1 ( #5675 )
2019-05-09 01:10:27 +02:00
Pooya Parsa
5ebf1cc78c
fix: avoid using aliases in templates ( #5656 )
2019-05-06 15:16:04 +04:30
renovate[bot]
989add8fb2
chore(deps): update all non-major dependencies ( #5628 )
2019-05-01 17:17:38 +01:00
renovate[bot]
905de666f2
chore(deps): update all non-major dependencies ( #5591 )
2019-04-29 12:03:21 +04:30
pooya parsa
a5cf705ed8
v2.6.3
2019-04-25 13:13:50 +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
renovate[bot]
7176ab2d4b
chore(deps): update all non-major dependencies ( #5538 )
2019-04-20 13:56:37 +04:30
Kevin Marrec
ccf23a07ed
fix(vue-app): fix context req
and res
types ( #5560 )
2019-04-20 13:46:26 +04:30
Xin Du (Clark)
30c2b9542e
chore: revert vue-router temp fix ( #5490 )
2019-04-16 13:38:25 +01:00
pooya parsa
6cee89324f
v2.6.2
2019-04-15 20:45:03 +04:30
Pooya Parsa
ff340abe6f
v2.6.2 ( #5523 )
2019-04-15 20:43:27 +04:30
pooya parsa
c0776eb2d7
v2.6.1
2019-04-04 22:28:06 +04:30
pooya parsa
0e51676731
v2.6.0
2019-04-04 21:36:17 +04:30
Xin Du (Clark)
159123feea
feat(babel-preset-app): support specifying core-js version ( #5411 )
2019-03-30 23:53:17 +04:30
noe132
2d73e8aeba
fix(vue-app): prevent mounting page twice on redirect ( #5361 )
2019-03-29 18:36:35 +04:30
renovate[bot]
7ce30935fa
chore(deps): update all non-major dependencies ( #5402 )
2019-03-29 18:36:03 +04:30
Johan Roxendal
77dcfe6ee8
fix(vue-app): decode uri in getlocation
( #5337 )
2019-03-23 13:10:38 +04:30
Pooya Parsa
439b914fd0
fix: fail in case of missing core-js dependency ( #5342 )
2019-03-23 11:18:18 +04:30
pooya parsa
5d7757bf29
v2.5.1
2019-03-22 02:18:39 +04:30
pooya parsa
e2c296321b
v2.5.0
2019-03-21 16:37:34 +03: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
renovate[bot]
fae8fb0df8
chore(deps): update all non-major dependencies ( #5288 )
2019-03-20 10:41:58 +03:30
Michael Leaney
d03a61b040
fix(vue-app): multiple named views cause invalid syntax ( #5262 )
2019-03-19 10:25:20 +00:00
pooya parsa
f89227e968
fix typo in index.d.ts
2019-03-14 13:52:12 +03:30
Daniel Hritzkiv
29c3c4250c
fix(ts): deprecate isClient
, isServer
, isStatic
( #5211 )
2019-03-14 13:43:21 +03:30
renovate[bot]
b22d97ea3a
chore(deps): update all non-major dependencies to ^2.6.9 ( #5234 )
2019-03-14 13:29:47 +03:30
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
Xin Du (Clark)
9e1ef888d8
fix: respect namespaced in store module ( #5189 )
2019-03-08 22:12:20 +03:30
Xin Du (Clark)
1ea86617ca
fix: keep-alive component data should not be updated ( #5188 )
2019-03-08 16:43:27 +00:00
Dmitry Molotkov
a867dbd34b
fix(builder, vue-app): order of plugin execution based on order in array ( #5163 )
2019-03-07 23:03:20 +03:30
Yutaka Sasaki
41028a407b
fix(vue-app): avoid css chunk error ( #5173 )
2019-03-07 16:43:09 +03:30
renovate[bot]
340c10736b
chore(deps): update all non-major dependencies ( #5149 )
2019-03-04 10:19:33 +03:30
Kevin Marrec
92f81e01e7
feat(ts): nuxt configuration typedefs ( #4854 )
2019-03-04 10:18:40 +03:30
renovate[bot]
4b9ea2919d
chore(deps): update all non-major dependencies ( #5122 )
2019-03-02 22:41:23 +03:30
Shingo Sato
f39205a796
chore(vue-app): suppress deprecated warning for classic vuex in prod ( #5137 )
2019-03-01 19:19:22 +03:30
pooya parsa
83db959506
v2.4.5
2019-02-26 14:20:41 +03:30
pooya parsa
0ad13e04d2
v2.4.5
2019-02-26 14:01:42 +03:30
pooya parsa
85c7869641
v2.4.4
2019-02-26 13:56:12 +03:30
Matjaž Lipuš
66273f4b4e
fix(types): reflect chainlable NuxtLoading methods ( #5104 )
2019-02-26 12:47:44 +03:30
Alexander Schwartz
7001312269
fix(vue-app): use browser to handle scrolling position on page reload and back-navigation from other sites ( #5080 )
2019-02-26 12:47:32 +03:30
Matjaž Lipuš
a6756a4188
fix(types): reflect chainlable NuxtLoading methods ( #5104 )
2019-02-25 23:48:06 +03:30
Alexander Schwartz
ee87f4ca82
fix(vue-app): use browser to handle scrolling position on page reload and back-navigation from other sites ( #5080 )
2019-02-25 23:46:44 +03:30
renovate[bot]
21b1b865ee
chore(deps): update all non-major dependencies ( #5088 )
2019-02-22 16:28:14 +03:30
Clark Du
5f9b1044ff
Merge remote-tracking branch 'origin/2.x' into dev
2019-02-15 13:18:09 +00:00
Pooya Parsa
2015140d12
feat(vue-app): universal fetch ( #5028 )
...
* pkg(nuxt-start): add node-fetch, unfetch
* pkg(vue-app): add node-fetch, unfetch
* add yarn.lock
* feat(config): _app.fetch options
* feat(builder): add fetch to templateVars
* feat(vue-app): polyfill global with fetch
* feat(fixtures/basic): /api/test
* add fetch example to fixtures
* remove unfetch from nuxt-start
* update template snapshot
* revert extra new line in server.js
* single line if
2019-02-14 16:56:58 +01:00
Alexander Lichter
0826d7e5fd
perf: await routeData promises in parallel ( #5027 )
2019-02-13 14:37:12 +00:00
renovate[bot]
960f8cab5c
chore(deps): update all non-major dependencies ( #5009 )
2019-02-12 10:48:11 +03:30
Pim
75a74543f4
test: improve nuxt-loading component tests ( #5005 )
2019-02-12 00:32:30 +03:30
renovate[bot]
8106523311
chore(deps): update all non-major dependencies ( #5000 )
2019-02-11 12:10:42 +03:30
renovate[bot]
e083c38f8f
chore(deps): update all non-major dependencies ( #4992 )
2019-02-09 13:32:50 +03:30
Pooya Parsa
408680046c
fix(vue-app): fix asyncData
memory leak on client-side ( #4966 )
...
Co-authored-by: Sébastien Chopin <seb@chopin.io>
2019-02-08 20:03:45 +03:30
Clark Du
3c79b4c0d7
Merge branch '2.x' into dev
2019-02-08 12:35:44 +00:00
Pooya Parsa
29297160a1
feat(vue-renderer): improvements ( #4722 )
2019-02-08 13:35:01 +03:30
Cristian Pallarés
dbf70999e4
fix(vue-app): fix getNuxtChildComponents
method ( #4969 )
2019-02-07 10:14:38 +00:00
renovate[bot]
995911d994
chore(deps): upgrade vue to ^2.6.3 ( #4968 )
2019-02-07 01:42:22 +03:30
pooya parsa
4e30bda44e
v2.4.3
2019-02-06 19:37:24 +03:30
pooya parsa
1be455f5af
manually bump all versions to 2.4.3
2019-02-06 19:27:43 +03:30
Pooya Parsa
93089543be
feat: upgrade vue to 2.6 ( #4953 )
2019-02-05 14:00:57 +03:30
Clark Du
fb13b41cf1
Merge remote-tracking branch 'upstream/2.x' into dev
2019-01-30 20:24:13 +00:00
Clark Du
32b0f155c9
v2.4.2
2019-01-30 15:15:05 +00:00
Pooya Parsa
3348cd6cd5
release: 2.4.1 ( #4889 )
...
# Bugfixes
* Handle `async` components correctly when using `nuxt-ts` (PR #4886 )
* Fix `extractCSS` in `dev` mode (PR #4888 )
* Correctly apply class when using `linkPrefetchedClass` (PR #4893 )
2019-01-30 14:09:09 +00:00
Clark Du
ade4bbe486
v2.4.1
2019-01-30 14:07:33 +00:00
phof
b2abb499f8
Fixes #4882 ( #4893 )
2019-01-30 14:01:39 +00:00
phof
0088b333f8
Fixes #4882 ( #4893 )
2019-01-30 11:34:33 +00:00
Xin Du (Clark)
59be77a2f3
feat: .nuxtignore ( #4647 )
2019-01-29 09:31:14 +00:00
Clark Du
5f221b4b7e
v2.4.0
2019-01-28 17:41:28 +00:00
Clark Du
a51ba8dd93
fix: remove unnecessary isDev in template/server
2019-01-24 14:01:33 +00:00
Xingkai Wang
fe57a5a929
fix: $nuxt is used instead of globalName ( #4743 )
2019-01-21 16:53:07 +03:30
Sébastien Chopin
5f0b34fcd4
fix: hotfix for vuex hmr ( #4801 )
...
* hotfix: Vuex HMR and warning when exporting an object for state
* hotfix: Handle sub modules too
* Update store.js
2019-01-21 11:42:06 +01:00
Kevin Marrec
45afc3fc3a
fix(ts): fix missing process type definitions and refactor types tests ( #4798 )
...
* fix(ts): add missing `process.mode` & `process.modern` typedefs
* refactor types tests + add tests for process typedefs
2019-01-19 15:50:06 +03:30
Sébastien Chopin
deadc48f19
fix(vue-app): Fix Vuex HMR & refactor for better modules usage ( #4791 )
...
* fix(vue-app): Refactor store for better modules usage
* Update packages/vue-app/template/store.js
Co-Authored-By: Atinux <seb@orion.sh>
* fix: tests and code style
2019-01-18 12:28:34 +01:00
renovate[bot]
7e5cb42275
chore(deps): update all non-major dependencies ( #4785 )
2019-01-18 00:50:00 +03:30
Kevin Marrec
db4001dae1
fix(ts): Add missing loading
property to Component options ( #4786 )
2019-01-17 18:29:41 +01:00
Kevin Marrec
6694cf706b
fix(ts): fix $nuxt.$loading
typedefs ( #4778 )
...
* feat(ts): improve typedefs of `$nuxt.$loading`
* fix: remove useless new line
2019-01-17 18:29:01 +01:00
renovate[bot]
dbf2711f0a
chore(deps): update all non-major dependencies ( #4742 )
2019-01-13 00:08:21 +03:30
Sébastien Chopin
3ebd6b707e
hotfix(layout): Hot fix for layout middleware
2019-01-10 19:57:32 +01:00
Sébastien Chopin
521ac20e29
fix(layout-middleware): Fix issue #4724
2019-01-10 18:59:56 +01:00
Kevin Marrec
b38e0aac43
feat(ts): typescript examples + improve vue-app
typings ( #4695 )
2019-01-06 12:37:17 +03:30
Pim
605b76073b
chore: lint vue-app templates ( #4689 )
2019-01-06 11:26:59 +03:30
pooya parsa
6178c470ba
perf(ssr): remove extra imprts from server.js
2019-01-04 00:17:06 +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
Alexander Lichter
471a32a1a8
feat: add styleExtensions ( #4671 )
2019-01-03 01:00:19 +03:30
Pooya Parsa
7dd33fedd2
feat(builder): validate vue-app dependencies and suggest fix ( #4669 )
2019-01-02 14:17:19 +00:00
Xin Du (Clark)
7ff4058318
fix: Vue.component(RouterLink) is undefined in vue-router 3.0.0 ( #4668 )
2019-01-02 13:06:47 +01: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
Sébastien Chopin
498c4f11d3
feat: better stack traces for SSR error, show error with correct URL and use eventsource-polyfill ( #4600 )
...
[release]
2018-12-23 12:10:36 +03:30
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