Commit Graph

1165 Commits

Author SHA1 Message Date
Sebastien Chopin
9098854a30 Merge branch 'dev' of github.com:nuxt/nuxt.js into dev 2017-05-22 14:05:26 +02:00
Sebastien Chopin
29d2751940 Update warning for Vuex store (classic mode) 2017-05-22 14:05:23 +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
Sebastien Chopin
eaee5afbde Add render.static option to customize serve-static middleware 2017-05-22 12:51:03 +02:00
Pooya Parsa
1f6c3a9a7b [fix] resolve css imports
This resolves problems with windows paths
2017-05-22 02:19:51 +04:30
Sébastien Chopin
6d969b0e37 Set as contributors instead 2017-05-21 21:15:54 +02:00
Sébastien Chopin
811729d143 Add pi0 as maintainer 2017-05-21 21:15:18 +02:00
Sébastien Chopin
7f337cdadf Bump to 1.0.1-alpha1 2017-05-21 21:08:32 +02:00
Sébastien Chopin
893d275a78 Update i18n example for 1.0 2017-05-21 21:01:08 +02:00
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
Sébastien Chopin
e5052c3a87 Update test 2017-05-21 21:00:01 +02:00
Sébastien Chopin
d4f4c15f10 Fix build merge 2017-05-21 19:24:31 +02:00
Sébastien Chopin
0183ac4b86 Merge branch 'dev' of github.com:Atinux/nuxt.js into dev
Conflicts:
	lib/build.js
	lib/module.js
	lib/server.js
2017-05-21 19:23:31 +02:00
Sébastien Chopin
f050bb6330 Refactor 2017-05-21 19:18:48 +02:00
Sébastien Chopin
c5b5913402 Update test 2017-05-21 19:18:26 +02:00
Sébastien Chopin
2247097b64 Allow synchronous module + fix typo in logs 2017-05-21 19:17:36 +02:00
Sébastien Chopin
1f317a188b Should work with route not code-splitted 2017-05-21 19:16:36 +02:00
Pooya Parsa
ac42ae599e Merge remote-tracking branch 'remotes/origin/master' into dev 2017-05-21 21:30:19 +04:30
Pooya Parsa
c6f355a6b5 ESLint 2017-05-21 21:27:04 +04:30
Pooya Parsa
34ad604b98 [Tests] ETag 2017-05-21 21:12:38 +04:30
Pooya Parsa
7e57f55a5a minor requireModule fix 2017-05-21 20:42:28 +04:30
Pooya Parsa
04d3a22212 [Tests] addServerMiddleware with string path 2017-05-21 20:15:43 +04:30
Pooya Parsa
08fd004044 [tests] requireModule 2017-05-21 20:11:16 +04:30
Pooya Parsa
da725cb11e fix ~ shorthand problems 2017-05-21 20:11:00 +04:30
Pooya Parsa
dabfe68009 ESLint 2017-05-21 19:49:49 +04:30
Pooya Parsa
38e7dd509a HTTP.2 Push Headers 2017-05-21 19:33:38 +04:30
Sébastien Chopin
7146b0f2a8 Merge branch 'dev' of github.com:Atinux/nuxt.js into dev 2017-05-21 15:46:32 +02:00
Sébastien Chopin
c3355e1467 Store state should always be a method now 2017-05-21 15:45:21 +02:00
Sébastien Chopin
8350dbfdbc Disable minify with generate.minify: false 2017-05-21 15:26:39 +02:00
Pooya Parsa
9c964ee0ac [deps] update vue-loader to 12.1.0 2017-05-21 17:51:10 +04:30
Pooya Parsa
ecde37a279 [deps] update vue-loader to 12.1.0 2017-05-21 17:47:11 +04:30
Sébastien Chopin
14c3c07d57 Remove cache option, use build.ssr.cache instead 2017-05-21 15:13:19 +02:00
Pooya Parsa
dd32b5441f ETag header support 2017-05-21 16:48:21 +04:30
Pooya Parsa
1939e08cb2 deprecate performance key 2017-05-21 16:36:01 +04:30
Pooya Parsa
f5541999fd Allow modules to provide their createRoutes 2017-05-21 15:25:01 +04:30
Pooya Parsa
8f08f13941 Revert "don't warn if pages directory not exists"
This reverts commit c6556c6b8b.
2017-05-21 15:11:30 +04:30
Pooya Parsa
054df82200 Allow override NODE_ENV with env config.
This allows debugging SSR hydration problems easier in production. (#727 and #574)
2017-05-21 14:18:22 +04:30
Pooya Parsa
c6556c6b8b don't warn if pages directory not exists 2017-05-21 13:17:29 +04:30
Sébastien Chopin
01de17b827 Fix store module vs store 2017-05-21 02:03:32 +02:00
Sébastien Chopin
e95c0a6573 Use 2 files for normal store 2017-05-21 02:03:11 +02:00
Sébastien Chopin
b68033a3b8 Upgrade std-mocks 2017-05-20 11:43:30 +02:00
Sébastien Chopin
a90127952a Merge branch 'dev' of github.com:Atinux/nuxt.js into dev 2017-05-20 11:37:15 +02:00
Sébastien Chopin
6fe95c2a6a Upgrade dependencies 2017-05-20 11:37:03 +02:00
Sébastien Chopin
2cb6e1e596 Add source map for SASS 2017-05-20 11:36:48 +02:00
Sébastien Chopin
4cd48f3927 Support ts 2017-05-20 11:36:35 +02:00
Sébastien Chopin
48f617d174 disable console log 2017-05-20 11:36:09 +02:00
Sébastien Chopin
cf58f299d8 Add typescript example 2017-05-20 11:35:50 +02:00
Pooya Parsa
d94fddeb38 return promise in requireModule 2017-05-20 13:47:14 +04:30
Pooya Parsa
aca45a15b0 improve serverMiddleware
This allows resolve using ~ path nation
2017-05-20 13:44:31 +04:30
Pooya Parsa
f0c66b490a requireModule and addModule
requireModule can be used for Meta-Modules to prevent duplicate requires
2017-05-20 13:43:55 +04:30