Commit Graph

110 Commits

Author SHA1 Message Date
Alexandre Chopin
4ebe6f7ac8 add html minifier for generate 2016-12-12 23:09:11 +01:00
Sébastien Chopin
7f3a39fea1 Fix child components data 2016-12-12 21:55:43 +01:00
Alexandre Chopin
2c4a512dda generate ok 2016-12-12 21:54:02 +01:00
Alexandre Chopin
da9c311b54 generate routes flatten 2016-12-12 21:16:12 +01:00
Sébastien Chopin
b71b8b7478 Add .json extension 2016-12-12 16:30:17 +01:00
Sébastien Chopin
f8c7b5c012 Add validate option 2016-12-12 16:30:07 +01:00
Sébastien Chopin
b3df306c30 Merge branch 'master' into nested-dynamic-routes 2016-12-12 15:02:32 +01:00
Sébastien Chopin
ca7d8bc3a8 No extension needed to import vue files 2016-12-12 15:01:57 +01:00
Alexandre Chopin
32a6f30118 delete option routes.router 2016-12-12 14:16:47 +01:00
Sébastien Chopin
9d59a2f80f remove strict mode for node v4 2016-12-11 18:58:47 +01:00
Alexandre Chopin
af36b495b0 order Routes 2016-12-11 16:40:49 +01:00
Alexandre Chopin
d09fdfb78e scoop position nested routes 2016-12-11 16:40:18 +01:00
Alexandre Chopin
ce0a89508e update routes options default 2016-12-11 13:34:08 +01:00
Alexandre Chopin
0b8b85128f Nested dynamic routes
Build and Router
2016-12-11 01:46:04 +01:00
Sébastien Chopin
0c385f522c Optimise promisifyRouteParams() 2016-12-10 12:39:11 +01:00
Sébastien Chopin
6b7062046e Use Nuxt server for tests 2016-12-09 23:07:33 +01:00
Sébastien Chopin
4aa600e57a Add Server class in nuxt 2016-12-09 20:09:12 +01:00
Sébastien Chopin
7cbc06144d compat with node 4 2016-12-09 19:40:59 +01:00
Sébastien Chopin
09e637cf4b generate dist lib 2016-12-09 18:54:17 +01:00
Sébastien Chopin
71a050da12 Fix error.vue layout 2016-12-09 13:50:34 +01:00
Sébastien Chopin
b73675206a Merge branch 'master' into pr/44
# Conflicts:
#	lib/build/index.js
2016-12-08 21:13:20 +01:00
Sébastien Chopin
6713f68443 Join with this.dir if relative path 2016-12-08 19:19:39 +01:00
Sébastien Chopin
3ded0cd5d0 Disable router base in generate 2016-12-08 18:46:13 +01:00
Sébastien Chopin
ce7e47c7f1 Merge pull request #47 from cj/eslint/no-console
added no-console to eslint
2016-12-08 18:08:32 +01:00
Sébastien Chopin
ac2250c281 Optimise generate out of memory when +10000 paths 2016-12-08 18:07:47 +01:00
cj
c4823f27a8 added no-console to eslint 2016-12-08 09:41:20 -06:00
Alexandre Chopin
5f8792036b fix error layout issue 2016-12-08 11:37:27 +01:00
cj
187fec3f32 if srcDir not set, default to this.dir (rootDir) 2016-12-08 00:55:44 -06:00
cj
df363e9770 Added an nuxt.config.js option srcDir 2016-12-08 00:45:40 -06:00
Sébastien Chopin
48c544b106 Add window.onNuxtReady before plugins 2016-12-07 23:58:32 +01:00
Sébastien Chopin
83cd431c52 Add $nuxt.on('routeChanged', to, from) 2016-12-07 23:43:57 +01:00
Sébastien Chopin
c5ac12b2cb Add renderAndGetWindow 2016-12-07 19:02:06 +01:00
Sébastien Chopin
648033f077 update build 2016-12-07 19:01:46 +01:00
Sébastien Chopin
4d6b85cfdd remove _ options 2016-12-07 18:47:23 +01:00
Sébastien Chopin
43f51c402a Nuxt() does not call build() anymore 2016-12-07 18:47:02 +01:00
Alexandre Chopin
57997e294e add layouts folder for extends app 2016-12-07 13:30:25 +01:00
Sébastien Chopin
509c14a7ac Add $nuxt.error() 2016-12-04 19:16:47 +01:00
Sébastien Chopin
87789b8748 Add env in context 2016-12-04 19:16:47 +01:00
Sébastien Chopin
a30ce76b0c Fix // when no base given 2016-12-04 19:16:47 +01:00
Alexandre Chopin
4c33c3c7f6 add name on router for pages component 2016-12-03 15:12:05 +01:00
Sébastien Chopin
496ecf1a80 remove non-used option 2016-12-01 19:09:40 +01:00
Sébastien Chopin
3b89191998 Bind render method to nuxt 2016-11-28 16:28:59 +00:00
Sébastien Chopin
16c9710141 .nojekyll needs to be empty 2016-11-27 18:45:50 +01:00
Sébastien Chopin
cbba9d0631 Add .nojekyll file for gh-pages 2016-11-27 18:11:41 +01:00
Sébastien Chopin
65de0934f6 Add Content-Length header 2016-11-25 17:57:59 +01:00
Sébastien Chopin
05372d9068 Remove pages/_error-debug.vue 2016-11-25 17:56:46 +01:00
Sébastien Chopin
a6d4e5136b Add config.env option 2016-11-25 15:37:06 +01:00
Sébastien Chopin
8ae76db287 Add ~ alias 2016-11-25 15:36:45 +01:00
Sébastien Chopin
cb3bf4c320 window.onNuxtReady is now a function 2016-11-25 15:36:27 +01:00
Sébastien Chopin
a3bbd71f65 Use babel preset es2015 by default in .vue files 2016-11-24 14:41:05 +01:00