Commit Graph

62 Commits

Author SHA1 Message Date
Sébastien Chopin
7534001123 Refactor to use only one context and add route.meta 2017-10-13 23:53:04 +02:00
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
Sébastien Chopin
615bcae90c Improve error handling when string 2017-01-26 15:21:39 +01:00
Sébastien Chopin
2d85b53266 Add transition hooks in nuxt.config.js 2017-01-13 21:30:31 +01:00
Sébastien Chopin
ac9412b908 Don't use polyfill anymore 2017-01-11 22:18:47 +01:00
Sébastien Chopin
d7de8bf458 Merge pull request #92 from Granipouss/master
Store generation
2017-01-02 18:41:39 +01:00
Sébastien Chopin
0b58637a09 Add polyfill in client & index 2016-12-31 12:33:51 +01:00
Sébastien Chopin
99bfac25aa Move polyfill to root 2016-12-31 12:11:37 +01:00
Brendan
d7c5babf1f better vuex store 2016-12-25 21:16:30 +01:00
Sébastien Chopin
fcae73a79b Remove nuxt-container 2016-12-24 17:58:52 +01:00
Sébastien Chopin
2cf68b6019 add nuxt-child and nuxt-link 2016-12-16 17:45:47 +01:00