Pooya Parsa
67f04458ec
improve plugin imports
2017-12-07 13:36:04 +03:30
Clark Du
7952de520c
refactor: unregister afterEach after route changed in guard
2017-12-03 20:22:03 +08:00
Clark Du
ceae5a8844
fix(route): error when redirect to different route in router guards
2017-12-03 20:22:03 +08:00
Pooya Parsa
1eee113d6d
chore(builder): better naming for plugin generated aliases
...
Help developers tracing exact source of warns/errors
2017-11-07 13:32:10 +03:30
Atinux
a2cc3afe60
fix: Dont call pages asyncData/fetch if middleware redirected or errored
2017-11-02 17:47:33 +01:00
Sébastien Chopin
023f000e24
fix: Give back payload for generate
2017-10-28 18:10:36 +02:00
Sebastien Chopin
e3974b4729
deprecation: Deprecate isServer, isClient and dev
2017-10-20 12:05:22 +02:00
Sebastien Chopin
d1ed762c1b
Merge branch 'dev' into refacto-app
2017-10-20 10:53:18 +02:00
Sébastien Chopin
5b09b92286
Refactor to use only one context and add route.meta
2017-10-20 10:52:07 +02:00
Antério Vieira
a66220b58c
style(app): spaces removed ( #1898 )
2017-10-20 11:01:56 +03:30
Sebastien Chopin
53dc522849
add: store. & this.
2017-09-14 18:25:34 +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
Wu Haotian
e2a18d76da
Fix typo in lib/app/index.js ( #1539 )
2017-08-31 10:57:52 +04:30
Sébastien Chopin
8dd1bfe169
Add app in store only if store exists
2017-08-29 21:04:14 +02:00
Pooya Parsa
c14b3be230
vuex@2.4.0
2017-08-29 22:33:42 +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
8dca358216
Move store hydration after plugins execution
2017-08-22 11:08:59 +02:00
Sebastien Chopin
4a6b651d56
Add beforeNuxtRender hook
2017-07-27 16:26:59 +02:00
Sebastien Chopin
1b2b9dbbe7
Fix context route in plugins for client-side
2017-07-26 13:56:43 +02:00
Sébastien Chopin
d1d631a88e
Remove logs
2017-07-20 20:37:52 +02:00
Pooya Parsa
0fece913e5
feat(app): hide error logs in production
2017-07-13 13:29:10 +04:30
Pooya Parsa
3ef0d15f6b
perf: use es6 import for plugins
2017-07-11 03:23:06 +04:30
Pooya Parsa
518692b2f4
chore: minor fixes
2017-07-10 04:27:50 +04:30
Pooya Parsa
5da4e49d56
chore: polish app/index.js
2017-07-10 02:59:27 +04:30
Sebastien Chopin
0831f9c5bc
Use es6-promise instead
2017-07-04 18:38:09 +02:00
Sebastien Chopin
70a75f4e42
Compatible with IE9+
2017-07-04 18:30:01 +02:00
Pooya Parsa
447e85af14
depricated ~ in flavour of @ for aliases
2017-06-29 21:06:22 +04:30
Pooya Parsa
6a562e1fe7
fix minor problems with relative
2017-06-21 01:53:53 +04:30
Sébastien Chopin
4cfe700846
Use relative path for plugins paths
2017-06-20 20:31:03 +02:00
Pooya Parsa
766009dbba
Cleaner structure
2017-06-18 12:06:00 +04:30
Pooya Parsa
829ffa634b
refactor structure
2017-06-16 17:12:45 +04:30
Sebastien Chopin
92951853fc
Add error in plugins context
2017-06-09 13:44:07 +02:00
Sebastien Chopin
5e5b58c461
Add redirect in plugins context
2017-06-06 14:51:49 +02:00
Sebastien Chopin
ea03d76e85
Fix issue #829 with onNuxtReady undefined
2017-06-02 12:15:38 +02:00
Pooya Parsa
bbd2eddb40
import SSR plugins
...
This supports proper functionality of plugins registering Vue Components.
Also we await for each plugin to make sure that they are initialized before createApp
2017-05-22 15:30:20 +04:30
Sébastien Chopin
78cd3bae86
Remove injectAs property, now you only have to export a method which receives the context
2017-05-21 21:00:41 +02:00
Sebastien Chopin
fd833216df
Format code
2017-05-05 12:11:32 +02:00
Pooya Parsa
a04a563f8d
create store only when available
2017-05-02 15:36:22 +04:30
Evan You
74652e3974
make use of runInNewContext: false
2017-05-02 13:33:09 +04:30
Sebastien Chopin
55db6e336f
Add injectAs feature
2017-04-14 11:57:08 +02:00
Sebastien Chopin
b11a4d761b
Add injectAs to work with external plugins
2017-04-10 18:44:08 +02:00
Sébastien Chopin
4034801fc9
Replace store state the soonest possible
2017-03-24 01:35:57 +01:00
Sébastien Chopin
5102e819fe
Use data-* for vue-meta (valid markup)
...
- data-*
- remove defer for __NUXT__ script
2017-03-24 01:24:50 +01:00
Sébastien Chopin
8253f5e75b
Add plugin ssr option & rename process.browser
2017-03-01 17:54:44 +01:00
Sébastien Chopin
9a2767ac90
Layout on afterEach
2017-02-20 22:11:34 +00:00
Sébastien Chopin
423f52f35d
Fix error component on dynamic route.
2017-01-27 23:10:02 +01:00
Sébastien Chopin
a99161f685
Use ES6 syntax for hooks in transition key
2017-01-26 16:01:22 +01:00