Commit Graph

40 Commits

Author SHA1 Message Date
Pooya Parsa
6504b0666a ESLint Fixes 2017-05-05 18:45:00 +04:30
Sebastien Chopin
fd833216df Format code 2017-05-05 12:11:32 +02:00
johan.roxendal@gu.se
70f959ccb8 rolled back changes to render, re-jiggled handling of errors in generate. 2017-05-05 11:47:24 +02:00
Johan Roxendal
d469f38d98 Adds generate error report from renderer and minification. Changes the behavior where generate would terminate on error, now it instead gathers the error from crashing routes and compiles an error report. 2017-05-05 10:59:33 +02:00
Sebastien Chopin
10d18bc454 Add generate.interval 2017-04-25 15:00:42 +02:00
johan.roxendal@gu.se
afa2e6b05c Implemented wait in generate function so generation of dynamic routes with ajax calls are not all sceduled simultaneously, possibly flooding the data backend with queries.
Use generate.wait (ms) to stagger route generate calls over time.

Fixes #590.
2017-04-25 14:04:49 +02:00
Sebastien Chopin
65a3ad5b08 Generate bundles in dist/ if url given 2017-04-25 11:17:23 +02:00
Sébastien Chopin
53f9d62fce Add generate.minify option 2017-03-24 01:25:41 +01:00
Sébastien Chopin
2a005308d2 throw error for tests 2017-03-20 19:19:57 +01:00
Sébastien Chopin
a81862e77f Upgrade dependencies & lint 2017-03-20 17:52:35 +01:00
Sébastien Chopin
8cdd10274f Use empty array if routes not given 2017-03-17 18:52:36 +01:00
Sébastien Chopin
0a595bd1c3 Merge remote-tracking branch 'origin/0.10.0' into 0.10.0
# Conflicts:
#	lib/generate.js
#	lib/utils.js
2017-03-16 18:54:37 +01:00
Sébastien Chopin
e8056f67eb Fix url starting with double slash 2017-03-16 18:52:38 +01:00
Alexandre Chopin
cd16c2f6d2 change generate.routeParams to generate.routes 2017-03-06 20:00:26 +01:00
Alexandre Chopin
749673c99b fix pathToRegexp generate routes 2017-02-22 18:13:23 +01:00
Sébastien Chopin
376362ec39 Handle publicPath 2017-02-16 18:16:00 +01:00
Sébastien Chopin
17650c25e0 Middleware feature 🔥 2017-02-03 15:09:38 +01:00
Sébastien Chopin
da63846f55 Use ES6 syntax with Webpack RC4 2017-01-11 20:15:09 +01:00
Sébastien Chopin
2ae761d2e7 Fix promise call generate 2016-12-21 20:50:46 +01:00
Sébastien Chopin
8102ce48eb Handle validate for nuxt generate 2016-12-21 15:03:23 +01:00
Alexandre Chopin
0df05fd633 html-minifier config 2016-12-12 23:15:54 +01:00
Alexandre Chopin
4ebe6f7ac8 add html minifier for generate 2016-12-12 23:09:11 +01:00
Alexandre Chopin
2c4a512dda generate ok 2016-12-12 21:54:02 +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
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
cj
df363e9770 Added an nuxt.config.js option srcDir 2016-12-08 00:45:40 -06:00
Sébastien Chopin
4d6b85cfdd remove _ options 2016-12-07 18:47:23 +01: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
40515ac91a Update dept and start next generate 2016-11-24 01:47:11 +01:00
Sébastien Chopin
cb7406cba6 router.base is now working as expected 2016-11-10 19:34:59 +01:00
Sébastien Chopin
9f370cb97c Check if static folder exists 2016-11-10 15:09:10 +01:00
Sébastien Chopin
d5230accaf Don't use sync functions 2016-11-10 14:51:40 +01:00
Sébastien Chopin
a8776de913 nuxt-generate 2016-11-10 14:46:16 +01:00
Alexandre Chopin
44e9d9dc4a last commit generator 2016-11-10 14:04:52 +01:00
Alexandre Chopin
06694e32ce generator done 2016-11-10 13:24:20 +01:00
Alexandre Chopin
e0641e1e51 generator 2016-11-10 12:33:52 +01:00