Commit Graph

94 Commits

Author SHA1 Message Date
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
Sébastien Chopin
b2b707ae71 Call store.replaceState when app is created 2016-11-24 13:16:30 +01:00
Sébastien Chopin
920e969da8 Disable babel query in vue-loaders 2016-11-24 13:16:08 +01:00
Sébastien Chopin
40515ac91a Update dept and start next generate 2016-11-24 01:47:11 +01:00
Sébastien Chopin
e441b7eb12 process.BROWSER_BUILD 2016-11-24 01:46:20 +01:00
Sébastien Chopin
d203d48c05 Add ~router alias 2016-11-24 01:40:04 +01:00
Sébastien Chopin
6d86df8291 Upgrade to vue 2.1.0 2016-11-23 13:40:25 +01:00
Sébastien Chopin
57b55dc512 Add build.postcss option 2016-11-23 00:47:31 +01:00
Sébastien Chopin
fc598ea66e Fix reused component data 2016-11-23 00:27:07 +01:00
Sébastien Chopin
2400fabceb Add transition option and package.json next config 2016-11-21 19:53:11 +01:00
Sébastien Chopin
edd0227e74 Add pages/_app.vue possibility + example 2016-11-21 14:15:08 +01:00
Sébastien Chopin
cb20e417fa Add Content-Type text/html header 2016-11-21 14:15:07 +01:00
Alexandre Chopin
b8436b067f Fix duplicate routes and hidden files 2016-11-20 12:23:48 +01:00
Sébastien Chopin
8cbbaeaf83 Fix path on windows 2016-11-20 11:37:53 +01:00
Sébastien Chopin
218894295b Add title in error pages 2016-11-19 22:48:06 +01:00
Sébastien Chopin
ae9b41f321 Add callback argument (optional) in data 2016-11-19 22:16:26 +01:00
Sébastien Chopin
e48f8250a0 Mixins and Vue.extend possible 2016-11-18 14:45:25 +01:00