Commit Graph

438 Commits

Author SHA1 Message Date
HANATANI Takuma
69ea8e9662 Replace background-color to background in loadingIndicator (#3656) 2018-08-08 18:15:15 +02:00
Clark Du
6aaf839d54
feat: call global vue errorHandler in fetch and asyncData (#3652)
resolve #3335
2018-08-08 11:11:08 +01:00
HANATANI Takuma
ba7e6c735b Use original vue-ssr instead of copy (#3644) 2018-08-07 02:58:33 +02:00
Jonas Galvez
fe9dd166df Fixed conflicts 2018-08-06 06:45:39 -03:00
Jonas Galvez
6db42ffbb5 hotfix (#3634) 2018-08-06 11:32:39 +02:00
Jonas Galvez
3f1d634fb7 Consistent parens in arrow functions (#3630)
* Minor consistency enhancements

* Arrow parenthesis consistency

* Change linting rule

* Fix typo

* Update .eslintrc.js to only require parens for blocks

* Update style according to brace-only suggestion

* Remove --fix from lint

* Tweak no-loading time (failing test)

* Tweak no-loading time (failing test) (2)

* Tweak no-loading time (failing test) (3)

* Tweak no-loading time (failing test) (4)

* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Jonas Galvez
0e42e98751 Add loading: false option to pages (#3629)
* Add hasManualLoading

* Add hasManualLoading (2)

* Debugging

* Debugging (2)

* Change 'manual' to false

* Add custom-page-loading example

* Add custom-page-loading example (2)

* Changed approach

* Added custom-page-loading/README.md

* Change running loading time in about.vue

* Patch loadAsyncComponents

* Added final page

* Changed approach (2)

* Fixed example

* Fixed example (2)

* Fix example package name

* Linting

* Improved examples (more to the point)

* Linting (2)

* Fix typo

* Adjust indentation

* Added noloading.vue to basic fixture

* Added noloading tests

* Linting (3)

* Debugging test

* Linting (4)

* Debugging test (2)

* Debugging test (3)
2018-08-05 23:56:49 +02:00
Alexander Lichter
e814b34508 feat: enable silent config when not in debug mode (#3564) 2018-07-23 08:59:41 +01:00
Alexander Lichter
095404a251 refactor: change function calls when arity is one (#3563) 2018-07-20 16:42:31 +01:00
GU Yiling
b5f6ed1332 fix: inject scrollBehavior in a more tolerant way (#3560)
Currently we cannot define `scrollBehavior` like:

```js
scrollBehavior () { // ← we can have space before the parenthesis
  // ...
}
```

Fixed this by using a `RegExp` to be more tolerant.
2018-07-20 16:26:03 +01:00
Clark Du
22a53464a7
fix: allow quotes in messages (#3525) 2018-07-12 21:45:14 +01:00
ktsn
bf6416ae62 fix: ensure emit triggerScroll event after scrollBehavior is called 2018-06-21 15:22:52 +09:00
Igor
937ce612c7 feat(csr): support custom Vue.config.errorHandler (#3337) 2018-06-02 19:16:57 +04:30
Sébastien Chopin
fe30ef3525 fix: Use Component instead of paths 2018-05-04 11:36:10 +02:00
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
airjp73
0308f13dab Fixed error caused by typo 2018-02-06 11:47:55 -05:00
airjp73
ce342d528a Reformated/commented for clarity 2018-02-06 11:21:33 -05:00
airjp73
6dce24cc53 Fixed conflict resolution problems 2018-02-06 11:13:28 -05: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