Commit Graph

280 Commits

Author SHA1 Message Date
Sebastien Chopin 7bc1b35b21 fix: Use file path for chunkName 2017-08-25 12:34:59 +02:00
Sébastien Chopin 3985c1d684 Merge pull request #1478 from LookinGit/fix-1248
~ fix asyncData parent + children pages in production build (#1248)
2017-08-25 12:14:11 +02:00
LookinGit 16608fad25 ~ fix asyncData parent + children pages in production build (#1248) 2017-08-25 08:56:38 +03:00
Pooya Parsa cafc94d9f9 fix problem with route chunk names (#1461) 2017-08-25 01:36:56 +04:30
Sébastien Chopin e32a3755dd feature: Add inject(key, value) as 2nd argument of plugins 2017-08-24 20:38:28 +02:00
Sebastien Chopin 12a31b0914 fix: SSR call router.push after plugin execution 2017-08-24 18:49:26 +02:00
Sebastien Chopin fb25c982a7 feature: Add no-ssr component 2017-08-24 12:38:46 +02:00
Sebastien Chopin 4ac14054f2 context: hotReload -> isHMR 2017-08-23 13:41:37 +02:00
Sebastien Chopin 8dca358216 Move store hydration after plugins execution 2017-08-22 11:08:59 +02:00
Sebastien Chopin fed644ddf6 Fix #1423 2017-08-21 13:54:41 +02:00
Pooya Parsa 9bfd00d3f4 update error page 2017-08-20 17:53:12 +04:30
Pooya Parsa 690cfe2114 improve spa errors 2017-08-20 17:43:42 +04:30
Pooya Parsa 0927c130ed press keys to open developer tools
Stack traces without developer tools are useless. Instead show a beatiful message
2017-08-20 16:20:55 +04:30
Pooya Parsa 75a845e5c7 wandering-cubes 2017-08-20 00:03:21 +04:30
Pooya Parsa 39e0a633db chasing-dots 2017-08-20 00:03:21 +04:30
Sebastien Chopin 6461bcc9cb Add appear transition on spa mode 2017-08-18 15:44:34 +02:00
Sebastien Chopin 775c9d0850 Fix margin for body 2017-08-18 15:43:50 +02:00
Pooya Parsa 136f066556 loadingIndicator support for SPA 2017-08-18 14:56:19 +04:30
Pooya Parsa b4847b7656 Handle when transition fn not returning anything
fix for #1406
2017-08-18 00:30:49 +04:30
Pooya Parsa 1cc2c6b5b0 wChunk 2017-08-17 21:48:56 +04:30
Pooya Parsa 6d9d949864 fix windows paths 2017-08-17 21:29:17 +04:30
Sebastien Chopin af60ba21c0 Remove JS files for pages & layouts 2017-08-17 15:23:40 +02:00
Sébastien Chopin 7d370d8126 Move $nuxt into App 2017-08-15 00:58:45 +02:00
Sébastien Chopin 15c1d4986a Merge pull request #1342 from whtsky/class-components-extends
Fix class component checks for extended components
2017-08-13 23:37:53 +02:00
Sébastien Chopin 233ea26455 Merge pull request #1310 from whtsky/resolve-vuecomponent
add `resolvedLayouts` to support class components in layouts
2017-08-13 23:31:58 +02:00
Sébastien Chopin 2db589f4b4 Add white background for error page 2017-08-13 22:31:20 +02:00
Sébastien Chopin d9796be0bb Add strict mode in development mode by default 2017-08-13 22:19:37 +02:00
Wu Haotian 221bb8800f
Fix class component checks for extended components 2017-08-11 17:36:05 +08:00
Pooya Parsa 4d74840177 disable clientside sourceMapSupport 2017-08-10 15:18:53 +04:30
Pooya Parsa 9340a0e7d0 fix error page stacks on dev 2017-08-10 15:15:49 +04:30
Pooya Parsa 7dd00a7c50 fix error pages layout
error page itself is a kind of layout so we should purely render it to avoid style conflicts
2017-08-10 15:07:23 +04:30
Pooya Parsa 71ebf02c6b disable browser-source-map-support 2017-08-10 14:46:13 +04:30
Pooya Parsa e0891ead6f grammer fix 2017-08-10 14:25:33 +04:30
Pooya Parsa 2efa394529 chore(nuxt-error): use computed 2017-08-10 14:19:58 +04:30
Pooya Parsa 400363860a feat(app): enable global vue error handler only in dev
With production builds, some Vue warns are being changed to errors this may lead to unwanted error pages.
2017-08-10 14:12:06 +04:30
Wu Haotian e686844b03
App.vue: check `resolvedLayouts` in `setLayout` 2017-08-07 15:11:47 +08:00
Wu Haotian 4abbb4eb9c
cache resolved layouts in resolvedLayouts 2017-08-07 14:21:03 +08:00
Pooya Parsa b78b189aea spa errors source map support 2017-08-06 02:03:46 +04:30
Pooya Parsa 3abc779447 fix styles overriding for SPA mode 2017-08-06 00:03:07 +04:30
Pooya Parsa 9bb7d0331a update error 2017-08-05 23:50:26 +04:30
Pooya Parsa 5d0681088d Hide debug box on debug:false
prevents potential security bugs
2017-08-05 21:34:27 +04:30
Pooya Parsa 24fe134641 always add error.message 2017-08-05 21:22:26 +04:30
Alexandre Chopin b2edab0517 use nuxtjs.org design colors
link, border and background-color
2017-08-05 17:19:46 +02:00
Pooya Parsa 53c516f908 show whoops error stack on dev 2017-08-05 17:03:14 +04:30
Pooya Parsa 518545df29 show back to homepage on whoops pages 2017-08-05 16:42:59 +04:30
Pooya Parsa e70d0ba7d0 add title for spa error handler 2017-08-05 16:40:47 +04:30
Pooya Parsa a0cb08e451 spa global error handler
prevents white screens on critical vue errors and shows nuxt error page
2017-08-05 16:23:19 +04:30
Pooya Parsa ad4c865957 fix(error): reset global styles 2017-08-05 15:33:56 +04:30
Pooya Parsa d9c2c85f2a consitent production error pages 2017-08-05 14:54:12 +04:30
Pooya Parsa b7715dc288 update error.html 2017-08-05 12:07:55 +04:30