Sébastien Chopin
be5e0571ab
fix: No need to use process.client here
2018-09-23 11:00:58 +01:00
Aldarund
0eb928eba9
reload in case of missing chunk ( e.g. site updated)
2018-09-22 17:41:27 +03:00
Pooya Parsa
87d303845f
chore: remove extra validationError
...
as @clarkdo mentioned
2018-08-25 21:56:42 +04:30
Jonas Galvez
608b913b8a
feat: async validate() ( #3797 )
2018-08-25 14:12:00 +04:30
Clark Du
3f7c5f64ed
fix: async fetch and asyncData not trigger ErrorHandler ( #3781 )
2018-08-22 14:10:43 +01:00
Clark Du
ef85723fe6
fix: error page rendering before redirect ( #3782 )
...
* fix: error page rendering before redirect
* fix: cancel redirect after redirect to external link
* refactor: simplify ERR_REDIRECT
* refactor: simplify ERR_REDIRECT
* refactor: trigger routeChanged when redirect external link
2018-08-22 14:10:18 +01:00
Alexander Lichter
f9637a1c86
fix: trigger watch query on trailing slash change ( #3695 )
2018-08-15 15:24:28 +02:00
Jonas Galvez
e6e8adb671
Minor consistency tweaks ( #3726 )
2018-08-15 15:23:03 +02:00
Alexander Lichter
cb18aa6f53
feat: add Vue.config configuration to nuxt.config.js ( #3655 )
...
After #3564 and the request of #3427 (plus #3452 ) I decided to add a dedicated `vueConfig`object to the `nuxt.config.js` file.
The keys will be projected on Vue.config.
By default, `Vue.config.performance` is enabled in dev mode, `Vue.config.silent` is enabled in production mode.
Doc PR incoming.
Resolves : #2910 , #3427
2018-08-08 20:05:23 +01:00
Clark Du
6aaf839d54
feat: call global vue errorHandler in fetch and asyncData ( #3652 )
...
resolve #3335
2018-08-08 11:11:08 +01: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
Clark Du
22a53464a7
fix: allow quotes in messages ( #3525 )
2018-07-12 21:45:14 +01: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
Nabarun Gogoi
28dede9687
pull request for issue #3018
2018-03-14 15:33:17 +05: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
Sébastien Chopin
1ab4be456f
fix: Handle redirect in middleware, fix #542 and #2665
2018-01-26 12:16:53 +01:00
Clark Du
94bb02901c
fix: multiple components in one route
2018-01-24 14:33:27 +08:00
Pooya Parsa
24185c97e7
fix: redirect without unresolved promise
2018-01-16 10:04:40 +03:30
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
39ef28ca2a
fix: Don't call fixPrepatch on non-dynamic routes
2018-01-04 16:40:34 +01:00
Sébastien Chopin
ab56a29ee6
Merge pull request #2105 from clarkdo/spa_layout
...
fix(spa): redundant laoding default layout when custom layout specified
2017-11-14 10:04:03 +01:00
Clark Du
fafe6d0a81
fix(spa): redundant laoding default layout when custom layout specified
2017-11-14 16:53:01 +08:00
Atinux
932fbfddfd
minor: Call routeChanged event with a 3rd argument if an error happened
2017-11-07 16:26:19 +01:00
Atinux
312ce81a6e
fix: Remove console.log
2017-11-07 11:51:46 +01:00
Clark Du
3ccc57502b
fix: basic.csr /head error
2017-11-07 12:04:21 +08:00
Atinux
3d49d8d290
feat: Add Page.watchQuery
2017-11-06 18:30:37 +01:00
Atinux
23919a9e01
feat: Add middleware as function
2017-11-03 17:14:05 +01:00
Atinux
a2cc3afe60
fix: Dont call pages asyncData/fetch if middleware redirected or errored
2017-11-02 17:47:33 +01:00
Sébastien Chopin
6e44afedb8
router: Don't call middleware and asyncData on query changes
2017-11-01 16:44:57 +01:00
Atinux
76aca28cdc
fix: Fix context undefined
2017-10-31 18:32:42 +01:00
Sébastien Chopin
e15c92f1c8
Merge pull request #1914 from dotneet/fix-1408
...
fix unexpected state resetting #1408
2017-10-31 15:05:22 +01:00
devneko
4b5a0352ff
fix: Fix regression bug related to setContext()
2017-10-30 20:05:12 +09:00
devneko
f186cadba6
fix unexpected state reset #1408
2017-10-29 11:02:48 +09:00
devneko
65d645d54c
fix regression in dev mode
2017-10-29 10:42:38 +09:00
Sébastien Chopin
e02e8df224
fix: Fix tests in generate mode with redirect
2017-10-28 22:42:51 +02:00
Sébastien Chopin
3b9f293e40
fix: Fix Hot reloading
2017-10-28 14:09:33 +02:00
Sébastien Chopin
83c25084f1
Refacto client app
2017-10-20 10:52:07 +02:00
Sebastien Chopin
9e4f864e4d
Fix issue #1629
2017-09-22 16:05:59 +02:00
Mouti'a Benachour
3c7273c5b0
fix error handler if error message is readonly ( #1673 )
2017-09-17 22:53:17 +04:30
Sebastien Chopin
03348c85cd
hotfix: applyAsyncData only if data is set
2017-09-07 14:44:13 +02:00
Pooya Parsa
4d5255e805
fix NUXT.data for SPA
2017-09-07 17:06:45 +04:30
Sebastien Chopin
9a28b8be25
Fix tests
2017-09-07 14:17:53 +02:00