Commit Graph

3452 Commits

Author SHA1 Message Date
Sébastien Chopin
2db304e222 Merge pull request #1613 from clarkdo/dev
refactor: fix some code issues
2017-09-08 11:00:43 +02:00
Clark Du
afc756f694 move up error print becuse it never be called
Signed-off-by: Clark Du <clark.duxin@gmail.com>
2017-09-08 12:15:29 +08:00
Clark Du
eae828ccc6 remove condition due to 'this.options.dev' is always false
Signed-off-by: Clark Du <clark.duxin@gmail.com>
2017-09-08 12:10:57 +08:00
Clark Du
1e0c807341 remove condition because dev is always true
Signed-off-by: Clark Du <clark.duxin@gmail.com>
2017-09-08 12:09:11 +08:00
Clark Du
36a553236a fix global declaration in test
Signed-off-by: Clark Du <clark.duxin@gmail.com>
2017-09-08 12:07:08 +08:00
Sebastien Chopin
034df15231 Bump to rc11 2017-09-07 14:53:50 +02:00
Sebastien Chopin
03348c85cd hotfix: applyAsyncData only if data is set 2017-09-07 14:44:13 +02:00
Pooya Parsa
8c00e92409 Merge branch 'dev' of github.com:nuxt/nuxt.js into dev 2017-09-07 17:07:06 +04:30
Pooya Parsa
9b8d3f11e7 fix: Handle 404 errors in SPA 2017-09-07 17:06:56 +04:30
Pooya Parsa
4d5255e805 fix NUXT.data for SPA 2017-09-07 17:06:45 +04:30
Sebastien Chopin
e24b4a7cc5 Bump to rc10 2017-09-07 14:31:45 +02:00
Sebastien Chopin
a45f2fb494 Bump to rc10 2017-09-07 14:31:25 +02:00
Sebastien Chopin
9a28b8be25 Fix tests 2017-09-07 14:17:53 +02:00
Sebastien Chopin
b114717701 Force preserveWhitespace to false to avoid SSR mismatch 2017-09-07 14:09:28 +02:00
Sebastien Chopin
32d3045884 Preserve whitespace 2017-09-07 13:51:11 +02:00
Sebastien Chopin
4683dc9254 Merge branch 'dev' of github.com:nuxt/nuxt.js into dev 2017-09-07 13:40:14 +02:00
Sebastien Chopin
74bc12da51 fix: Handle synchronous route component 2017-09-07 13:40:10 +02:00
Sébastien Chopin
45b6c9320b Merge pull request #1600 from whtsky/serverState
rename `context.serverState` to `context.nuxtState`
2017-09-07 13:39:03 +02:00
Sébastien Chopin
a5cf2c3c42 Merge pull request #1586 from smadey/dev
Add "resourcesLoaded" plugin for Renderer
2017-09-07 13:37:50 +02:00
Wu Haotian
e06aaaecc5 rename context.serverState to context.nuxtState 2017-09-07 10:46:28 +08:00
Sebastien Chopin
226a8701b4 Bump to rc9 2017-09-06 15:34:38 +02:00
Sebastien Chopin
9ab8b12c2f Bump to rc9 2017-09-06 15:32:43 +02:00
Sebastien Chopin
3cb603f922 Fix i18n example 2017-09-06 15:32:09 +02:00
Sebastien Chopin
1de4a16a02 fix: Typo 2017-09-06 15:19:51 +02:00
Sebastien Chopin
79a64df422 fix: Move back store hydration before plugins execution 2017-09-06 15:15:32 +02:00
Smadey
fd07d1ff38 Add "resourcesLoaded" plugin for Renderer
Provide the ability to modify resources before use.
2017-09-06 10:38:56 +08:00
Pooya Parsa
251d87914d fix(nuxt-error): always show errors in debug more
SPA mode in debug mode when error is not globally handled (thrown by other nuxt functions) there is no error at all in console logs
2017-09-05 23:35:04 +04:30
Pooya Parsa
888b141a27 feat(renderer): allow disable router.base with prefix:false 2017-09-05 21:16:06 +04:30
Pooya Parsa
0326c2cd54 fix tests 2017-09-05 14:12:19 +04:30
Sébastien Chopin
2b64cea5e6 Merge pull request #1574 from akameco/patch-1
Fix typo
2017-09-05 11:23:56 +02:00
Sebastien Chopin
20eb5a5eb0 fix: handle process.env to have nested keys 2017-09-05 11:15:07 +02:00
Pooya Parsa
1fcf3e685e fix(meta): remove data-n-head-ssr 2017-09-05 13:34:59 +04:30
Pooya Parsa
326c36cf08 fix(nuxt-start): include minimist dependency 2017-09-04 23:56:02 +04:30
akameco
36bc6f0c28 Fix typo 2017-09-05 04:25:40 +09:00
Pooya Parsa
e2389eae95 chore: update dependencies 2017-09-04 19:43:47 +04:30
Pooya Parsa
cdc925cdbb fix tests 2017-09-03 01:05:41 +04:30
Pooya Parsa
c6c653e68c typo 2017-09-03 00:33:48 +04:30
Pooya Parsa
a5e429830d padding 2017-09-01 21:10:01 +04:30
Pooya Parsa
4af3917f6d right -> left 2017-09-01 21:02:22 +04:30
Pooya Parsa
0d4bbf0b03 allow customize all messages for i18n 2017-09-01 21:00:49 +04:30
Pooya Parsa
2e11827209 spa loading defaults
more design agnostic for general usage
2017-09-01 20:46:08 +04:30
Pooya Parsa
a6a36b1d2f simplify error pages
No dependencies and more mobile friendly
2017-09-01 20:29:56 +04:30
Sebastien Chopin
9d43db475b Fix example 2017-09-01 17:38:16 +02:00
Sebastien Chopin
f4c68e95e2 Add serverState 2017-09-01 10:29:06 +02:00
Sebastien Chopin
7da8785d72 Add context.serverStoreState 2017-08-31 14:46:10 +02:00
Wu Haotian
e2a18d76da Fix typo in lib/app/index.js (#1539) 2017-08-31 10:57:52 +04:30
Sebastien Chopin
63bc512d73 Bump to rc8 2017-08-30 18:36:41 +02:00
Sebastien Chopin
6852f9e7a6 Bump to rc8 2017-08-30 18:36:12 +02:00
Sebastien Chopin
2dc84add7d Use css-loader module 2017-08-30 18:33:27 +02:00
Pooya Parsa
699b3f6230 disable ModuleConcatenationPlugin 2017-08-30 19:36:16 +04:30