Commit Graph

17 Commits

Author SHA1 Message Date
Jason Poindexter
1f5d489850
fix(vue-app): middleware not executing on double browser back navigation (#6775)
fixes #6716.
2020-03-13 22:26:35 +01:00
pooya parsa
f1e2362456 chore: remove new fetch warning 2020-03-12 15:40:03 +01:00
Sébastien Chopin
6db325c321
feat(vue-app): new fetch syntax (#6880) 2020-02-04 19:36:22 +01:00
Xin Du (Clark)
e8aca9eb11 chore: update @nuxtjs/eslint-config to v2 and fix lint errors (#6732) 2019-11-26 23:42:39 +01:00
Xin Du (Clark)
afb38fe492
fix(vue-app): layout in error.vue not work for Vue.extend component (#6650) 2019-11-05 17:53:39 +00:00
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
Pooya Parsa
0c3b9c5d12
fix(vue-app): reduce consola direct access (#5864) 2019-06-04 19:18:45 +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
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
Clark Du
a51ba8dd93 fix: remove unnecessary isDev in template/server 2019-01-24 14:01:33 +00:00
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
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
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
Pooya Parsa
39b558f59c
refactor core into sub-packages (#4202) 2018-10-31 00:12:53 +03:30