Clark Du
32b0f155c9
v2.4.2
2019-01-30 15:15:05 +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
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
Xin Du (Clark)
e71c4559ff
feat: mode for plugins ( #4592 )
2018-12-20 12:58:10 +03:30
Sébastien Chopin
96892c5341
fix(vue-app): Fix default error handler in production
2018-12-19 19:39:38 +01:00
Sébastien Chopin
7812d8d87d
Merge branch 'missing-chunk-reload' of https://github.com/aldarund/nuxt.js into aldarund-missing-chunk-reload
...
Conflicts:
packages/vue-app/template/client.js
2018-12-19 18:48:38 +01:00
Sébastien Chopin
951e745e54
fix(vue-app): Set window. equals to window.{globalName} when defined
2018-12-19 18:29:45 +01:00
Sébastien Chopin
6c4280f87f
fix(vue-app): Call Vue.config.errorHandler instead of simply logging the error
2018-12-19 18:12:39 +01:00
Sébastien Chopin
59aee74a88
feat(vue-app): add vetur helpers for components auto-complete on VS Code ( #4524 )
...
* feat(vue-app): Add vetur helpers for components auto-complete on VS Code
* update vetur helper
* Update nuxt-attributes.json
* Update nuxt-tags.json
2018-12-19 17:31:10 +01:00
Alexander Lichter
81cf09cb76
fix: apply store HMR to whole store ( #4589 )
2018-12-19 17:26:58 +01:00
Sébastien Chopin
c8b920a145
feat(vue-app): Add deprecating for classic mode and handle mutations/actions HMR to store/index.js
2018-12-19 17:15:01 +01:00
Alexander Lichter
b2eee1772e
feat: add store module HMR ( #4582 )
...
* feat: add store module HMR
* fix: replace export with window.$nuxt
Thanks to @pi0 for the suggestion :)
* refactor: apply only in dev mode on client side
* test: make store module test more descriptive
* fix: clear modules to apply HMR
* fix: remove console.log
* fix: e2e tests
* refactor: use void
2018-12-19 16:22:00 +01:00
renovate[bot]
186b3cb233
chore(deps): update all non-major dependencies ( #4581 )
...
[skip release]
2018-12-18 20:32:05 +03:30
Jonas Galvez
25d26ba42f
chore(vue-app): use serializeFunction when appropriate ( #4575 )
2018-12-17 17:26:23 +00:00
Jonas Galvez
669fecc6a3
feat: allow scrollToTop to be explicitly disabled ( #4564 )
...
Co-authored-by: James Homer <jameshomer85@gmail.com>
2018-12-16 13:32:39 +03:30
Jonas Galvez
7831e57943
fix: properly serialize head functions ( #4558 )
...
#4079
2018-12-15 12:07:31 +03:30
renovate[bot]
e6ca79969a
chore(deps): update all non-major dependencies ( #4551 )
...
[skip release]
2018-12-15 11:01:59 +03:30
Ricardo Gobbo de Souza
99614535b5
feat(vue-app, vue-renderer): support meta headAttrs
( #4536 )
2018-12-14 17:36:26 +03:30
Hartmut
da0a3794ef
fix(vue-app): add type definition for ComponentOptions.middleware
( #4531 )
2018-12-14 06:01:25 +03:30
Alexander Lichter
c60b1945e8
chore: cleanup ( #4529 )
2018-12-12 10:01:49 +03:30
renovate[bot]
13c7b6d671
chore(deps): vue v2.5.21 ( #4523 )
2018-12-12 09:57:26 +03:30
Sébastien Chopin
15051978f0
feat(vue-app): <n-link> and <n-child> component aliases ( #4525 )
2018-12-11 20:37:04 +03:30
ousiri
431cc15617
fix: keepAliveProps broken in <nuxt-child> ( #4521 )
2018-12-11 11:11:15 +01:00
renovate[bot]
b07c27a843
chore(deps): update all non-major dependencies to ^2.5.20 ( #4514 )
2018-12-10 22:09:04 +03:30
renovate[bot]
6d8aeec81c
chore(deps): update vue to v2.5.19 ( #4509 )
2018-12-10 01:47:40 +03:30