Commit Graph

417 Commits

Author SHA1 Message Date
Sébastien Chopin c6553a39cd fix: #2854 2018-05-04 10:32:26 +02:00
Pooya Parsa 8feeeb0cfe Revert "feat: add webpackPrefetch to initial async chunk options (webpack 4.6.0)"
This reverts commit 09b141efa4.
2018-05-02 14:29:55 +04:30
Pooya Parsa aec6828892 feat: add webpackPrefetch to initial async chunk options (webpack 4.6.0) 2018-05-02 14:29:55 +04:30
rockywu 吴佳雷 3e62642908 add extendRoutes Support for meta properties 2018-04-18 15:20:37 +08:00
Clark Du 918ce3c15f
refactor: make createRouter support async 2018-04-17 15:09:50 +08:00
Jordan Ramstad 869fdc2c25
Update router to allow async functions 2018-04-13 12:22:35 -06:00
Pooya Parsa fb978b812a pef(server.js): only include lodash/omit 2018-04-13 03:44:25 +04:30
Ricardo Gobbo de Souza c57a093901 feat: added default page when no pages/ directory 2018-04-06 08:27:43 -03:00
Blake Kostner 2fd1b229cb update head serialize logic 2018-03-28 11:53:38 -06:00
Pooya Parsa 8b82168f12 misc: SPA loading indicator improvements 2018-03-26 00:38:36 +04:30
Pooya Parsa 5bc211b6fe remove default2 2018-03-26 00:09:21 +04:30
Pooya Parsa b61698f44c feat: handle spa errors with default loading indicator 2018-03-25 23:35:51 +04:30
Pooya Parsa a56c208f9b feat: new default loading indicators 2018-03-25 23:05:13 +04:30
Sébastien Chopin d1d637f0c4
Merge pull request #3060 from nuxt/feat/asyncChunks
feat: make optimization and splitChunks configurable
2018-03-20 13:31:32 +01:00
Pooya Parsa cc336c4c13 fix undefined layout 2018-03-20 15:46:53 +03:30
Pooya Parsa 0ce8d88f38 feat: make optimization and splitChunks configurable 2018-03-19 22:10:33 +03:30
Sébastien Chopin f57096e572
Merge pull request #3019 from nikugogoi/dev
pull request for issue #3018
2018-03-19 19:15:36 +01:00
Pooya Parsa 6394639091 fix(nuxt-error): prevent duplicate errors
also hides 404s from ssr
2018-03-19 21:34:17 +03:30
William Chong 8cb4188aa0 add support to vue-router redirect in extendRoutes 2018-03-15 19:56:50 +08:00
Clark Du 90d9283e70
deprecate: remove context.isServer/isClient 2018-03-15 17:19:36 +08:00
Nabarun Gogoi 28dede9687 pull request for issue #3018 2018-03-14 15:33:17 +05:30
Pooya Parsa 1dc6a9d788 fix: hash route names 2018-03-13 20:11:20 +03:30
Pooya Parsa 86d0031ae6 feat: splitPages 2018-03-13 18:06:49 +03:30
Clark Du ad744e3e31 refactor: remove unused dependencies 2018-03-13 18:33:45 +08:00
Sébastien Chopin 83c1e085a5
Merge pull request #2831 from jasonc08/dev
inject ssrContext into createRouter and createStore
2018-03-01 17:42:10 +01:00
Sébastien Chopin a89a0f7ca9 Update router.js 2018-03-01 18:31:19 +03:30
devneko 5f55bf76bd fix DOMException when using an url-hash that is not valid as css selector 2018-03-01 18:31:19 +03:30
Pooya Parsa e0cc9a1cc6 fix: ignore test files inside middleware and store (#2905) 2018-03-01 09:38:42 +03:30
Sébastien Chopin ca13b6bfbb fix: Comment line since we use _dataRefresh 2018-02-28 16:46:48 +01:00
Sébastien Chopin 8903db1c27 fix: Fix watchQuery on reused page component 2018-02-28 16:40:59 +01:00
jason 65b8148a3d inject ssrContext into createRouter and createStore 2018-02-14 01:45:37 +08:00
Ricardo Gobbo de Souza 7786451064 feat: custom store directory 2018-02-04 07:31:03 -02:00
Ricardo Gobbo de Souza 856c1bf83c feat: custom middleware directory 2018-02-03 21:24:45 -02:00
Sébastien Chopin 358e2f32fd minor: Improve scrollBehavior to work with transitions, resolve #1376, thanks to @homerjam 2018-01-31 16:13:28 +01:00
Sébastien Chopin 1ab4be456f fix: Handle redirect in middleware, fix #542 and #2665 2018-01-26 12:16:53 +01:00
Sébastien Chopin 6425fb30a5
Merge pull request #2679 from clarkdo/multiple_components
fix: multiple components in one route
2018-01-25 11:47:14 +01:00
Clark Du 94bb02901c
fix: multiple components in one route 2018-01-24 14:33:27 +08:00
Sébastien Chopin 00f98c150f fix: Fix error undefined on plugins errors 2018-01-23 10:41:50 +01:00
Sébastien Chopin d444f2a5b1 enhancement: Add path to 404 error message on server-side 2018-01-18 14:06:15 +01:00
Sébastien Chopin 1ea0a9a6f2 wip: Add keep-alive prop to <nuxt/> and <nuxt-child/> 2018-01-17 09:39:34 +01:00
Ben Zhao a67ae8672b
fix: ssrContext.error is not a function 2018-01-16 19:01:03 +08:00
Pooya Parsa 24185c97e7 fix: redirect without unresolved promise 2018-01-16 10:04:40 +03:30
Sébastien Chopin 97d70f46c6 misc: Fix typo 2018-01-15 13:51:51 +01:00
Sébastien Chopin e8532dc80c fix: Remove useless console.log 2018-01-15 13:51:25 +01:00
Sébastien Chopin de02ea4b5d app: Better external url redirect handling 2018-01-15 12:22:57 +01:00
Sébastien Chopin e33d502696 fix: Handle redirects for loading bar 2018-01-12 16:10:30 +01:00
Sébastien Chopin 5dd7591e3f misc: Refacto to use less chars 2018-01-11 12:56:37 +01:00
Clark Du 4ec99ef6f6 fix: nested redirect in spa 2018-01-11 17:00:40 +08:00
Sébastien Chopin 179b1a7bc1
Merge branch 'dev' into dev 2018-01-05 13:18:11 +01:00
Sébastien Chopin 5b923fd97e feat: Add extensions option to add more language support 2018-01-04 18:10:17 +01:00