Commit Graph

325 Commits

Author SHA1 Message Date
William Chong
68d8d54e83 fix: use case insensitive regex for webpack loader rules (#4728) 2019-01-09 23:18:34 +03:30
Xin Du (Clark)
f85ac94a87 fix(builder, module): addLayout and nuxt.config precedence over auto-scanned layouts (#4702) 2019-01-09 14:27:46 +03:30
Pim
9c6df495d8 fix: add option to rewatch on path after raw fs event (#4717) 2019-01-09 14:18:28 +03:30
Alexander Lichter
eef2af35e4 fix: no false positives for plugins with index.js (#4714)
resolves #4713 [release]
2019-01-08 22:55:56 +03:30
Clark Du
ecf76d91f1 fix: SafariFix is not injected in client modern mode 2019-01-08 13:21:13 +00:00
renovate[bot]
a053e58534 chore(deps): update dependency postcss to ^7.0.8 (#4709) 2019-01-08 15:39:16 +03:30
renovate[bot]
51c018acd3 chore(deps): update all non-major dependencies (#4704) 2019-01-08 10:48:49 +03:30
Xin Du (Clark)
af76e07b56 fix(builder): js layout (#4701)
[release]
2019-01-07 15:44:51 +03:30
Kevin Marrec
b38e0aac43 feat(ts): typescript examples + improve vue-app typings (#4695) 2019-01-06 12:37:17 +03:30
renovate[bot]
3ccfcedb65 chore(deps): update all non-major dependencies (#4692) 2019-01-06 12:36:24 +03:30
Ricardo Gobbo de Souza
6436e3b080 fix(builder): layouts condition (#4641) 2019-01-06 11:35:11 +03:30
Alexander Lichter
78433b599e refactor: use is prefix for booleans (#4674) 2019-01-06 11:32:28 +03:30
Pim
605b76073b chore: lint vue-app templates (#4689) 2019-01-06 11:26:59 +03:30
renovate[bot]
d063cb09e8 chore(deps): update all non-major dependencies (#4691) 2019-01-04 23:46:28 +00:00
Pooya Parsa
ee0096bf59
feat: nuxt-ts (#4658)
[release]
2019-01-04 23:00:28 +03:30
renovate[bot]
6168c3c9f3 chore(deps): update dependency webpack-dev-middleware to ^3.5.0 (#4690) 2019-01-04 21:49:16 +03:30
renovate[bot]
e40022138e chore(deps): update all non-major dependencies (#4687) 2019-01-04 17:06:53 +00:00
Clark Du
89f88669c1 fix: server build failed in dev mode 2019-01-04 16:33:50 +00:00
Clark Du
30fef5d7a0 fix: enable FriendlyErrorsPlugin when build.friendlyErrors is true 2019-01-04 16:09:10 +00:00
pooya parsa
6178c470ba perf(ssr): remove extra imprts from server.js 2019-01-04 00:17:06 +03:30
Pooya Parsa
bdb6791e40
feat(webpack,cli): standalone build mode (#4661)
* feat(webpack,cli): standalone build mode

* revert typo
2019-01-03 23:57:50 +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
renovate[bot]
438b430a2e chore(deps): update all non-major dependencies (#4670) 2019-01-03 01:22:25 +03:30
Dmitry Molotkov
d3b939690c fix(server): process browser version with non semver versions (#4673) 2019-01-03 01:22:09 +03:30
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
renovate[bot]
b210724e60 chore(deps): update all non-major dependencies (#4662) 2019-01-02 12:06:24 +03:30
Alexander Lichter
867e8e1e84 fix: plugins for modern mode (#4659) 2018-12-30 14:28:42 +00:00
Alexander Lichter
8786ff7317 fix: require serverMiddleware object with path and handler (#4656) 2018-12-30 01:04:47 +03:30
renovate[bot]
d93a3e28b6 chore(deps): update dependency webpack to ^4.28.3 (#4654) 2018-12-29 16:30:46 +03:30
renovate[bot]
cf451ebb9b chore(deps): update all non-major dependencies (#4640) 2018-12-29 13:51:23 +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
Clark Du
35151150fd fix: wrong devMiddleware in non-modern dev mode 2018-12-28 13:26:46 +00:00
renovate[bot]
197be144ba chore(deps): update dependency terser-webpack-plugin to ^1.2.1 (#4637)
don't crash when no extracted comments
2018-12-27 20:55:43 +03:30
renovate[bot]
61dc2dfec9 chore(deps): update dependency css-loader to ^2.1.0 (#4628) 2018-12-25 23:57:25 +03:30
Xin Du (Clark)
df9b32a1c4 fix: hmr in modern mode (#4623) 2018-12-24 19:56:39 +03:30
renovate[bot]
8cd19f0bd4 chore(deps): update dependency serialize-javascript to ^1.6.0 (#4625) 2018-12-24 19:10:45 +03:30
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
Kevin Marrec
f1377a7f8d feat(ts): provide type checking through fork-ts-checker-webpack-plugin (#4611) 2018-12-23 11:13:51 +03:30
Dmitry Molotkov
8dc15d07b7 fix: allow keepAliveProps for nuxt component (#4610)
[skip ci]
2018-12-23 11:13:36 +03:30
renovate[bot]
bf4803af19 chore(deps): update dependency cache-loader to v2 (#4608) 2018-12-23 02:18:22 +03:30
Kevin Marrec
4d5274215a feat(ts): add TSX support (#4613) 2018-12-23 02:12:20 +03:30
renovate[bot]
a17bb1704d chore(deps): update all non-major dependencies (#4605)
[skip release]
2018-12-23 01:33:22 +03:30
Xin Du (Clark)
324135df51 refactor: @nuxt/utils (#4609) 2018-12-23 00:35:13 +03:30
Kevin Marrec
5458ba5b10 chore: fix dependencies order (#4612)
[skip ci]
2018-12-22 01:44:16 +03:30
renovate[bot]
c432ec4ec7 chore(deps): update dependency file-loader to v3 (#4599) 2018-12-21 19:38:47 +00:00
Clark Du
90f42a618e refactor: remove unused properties in base config 2018-12-21 15:18:14 +00:00