Commit Graph

203 Commits

Author SHA1 Message Date
Clark Du
7514db73b2
feat: add hook for getting data before sending to client 2018-05-03 20:47:55 +01:00
Clark Du
a02c445cdf
Merge pull request #3212 from btkostner/patch-1
export server resourceMap
2018-04-30 08:39:39 +01:00
Sébastien Chopin
a02935c15f fix: Fix CSP in development mode, add unsafe-eval 2018-04-13 12:37:32 +02:00
Pooya Parsa
05efd73136 fix(module): correct errors when template is Object 2018-04-12 23:46:08 +04:30
Blake Kostner
45f3c60bd9
export server resourceMap 2018-04-10 11:16:47 -06:00
Pooya Parsa
e4ee624011 feat: improve esm handling
disables esm for nuxt modules
2018-04-05 13:08:54 +04:30
Pooya Parsa
1484928237 chore: add http:// to ready message 2018-04-02 15:42:29 +04:30
Pooya Parsa
0ca99426c9 chore: remove unnecessary scopes 2018-04-02 00:50:46 +04:30
Pooya Parsa
9f8aea5a4c fix: fatal error on nuxt ready 2018-04-02 00:07:57 +04:30
Pooya Parsa
89d5f3753e perf: prevent duplicate showReady 2018-04-01 00:50:14 +04:30
Pooya Parsa
46c7fd2767 fix: default ready message 2018-03-31 21:39:06 +04:30
Pooya Parsa
25741f5a1f refactor: use consola for all console stuff 2018-03-31 21:21:55 +04:30
Pooya Parsa
59ff0df052 feat: use consola for logging 2018-03-31 20:52:14 +04:30
Pooya Parsa
948d56622e misc: improve onReady CLI experience (#3143) 2018-03-29 02:35:27 +04:30
Clark Du
ef7a42649d misc: improve coverage and packaging (#3121)
nuxt-start and nuxt/legacy are also coming!
2018-03-28 02:58:17 +04:30
Clark Du
47281c2761
comment: renderStyle todo for suppporting mini-css-extract 2018-03-27 10:31:51 +08:00
Pooya Parsa
a56c208f9b feat: new default loading indicators 2018-03-25 23:05:13 +04:30
Pooya Parsa
4b26c68c3b perf: chunk splitting improvements 2018-03-21 13:33:57 +03:30
Pooya Parsa
6a68e381b6 perf(spa): inline runtime chunk 2018-03-20 13:39:47 +03:30
Pooya Parsa
160e1d35e4 feat(spa): support shouldPrefetch and shouldPreload 2018-03-20 12:04:39 +03:30
Pooya Parsa
85d6c5758a open ~> ready
be more precicse about which ip address is nuxt listening by.
2018-03-19 21:45:20 +03:30
Pooya Parsa
0f180ad39f remove extra import 2018-03-19 20:00:03 +03:30
Pooya Parsa
984788362a fix(renderer): setAnsiColors is not a function 2018-03-19 19:56:56 +03:30
Pooya Parsa
6f718ec24b hide OPEN message on test 2018-03-18 12:23:06 +03:30
Pooya Parsa
6e54a3868d fix resolvePath with relative paths 2018-03-16 23:33:33 +03:30
Pooya Parsa
ed5bfacb4d eslint: fix import/order 2018-03-16 23:22:17 +03:30
Pooya Parsa
6234ae84c0 refactor(core): use strict mjs 2018-03-16 22:41:24 +03:30
Pooya Parsa
ec616f109b refactor options 2018-03-16 20:53:15 +03:30
Pooya Parsa
53e98a958c feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
Clark Du
1080dfdbd6
deprecate: remove callback in module definition 2018-03-15 18:09:36 +08:00
Clark Du
78aac2df26
deprecate: remove nuxt.plugin 2018-03-15 17:49:14 +08:00
Clark Du
3957bf63bc
chore: fix typo 2018-03-15 15:55:52 +08:00
Clark Du
7bc3ac501b
refactor: add timeout in renderAndGetWindow 2018-03-14 16:18:40 +08:00
Pooya Parsa
4c6bb3767b fix tests 2018-03-12 01:10:16 +03:30
Pooya Parsa
b8f8f18384 optimize webpack 2018-03-12 00:58:56 +03:30
Clark Du
e514ce326c
coverage: ignore file name in error stack trace does not exist 2018-03-09 10:18:08 +08:00
oXg3n
b554a524a8 Fix HTML script tag in core/renderer to pass W3C validation (The type attribute is unnecessary for Javascript resources) 2018-03-08 15:38:29 +01:00
Sébastien Chopin
bb5a604c1b
Merge pull request #2950 from clarkdo/jsdomError
fix: throw jsdomError to avoid renderAndGetWindow hanging
2018-03-06 10:17:07 +01:00
Clark Du
0783be2790
refator: remove jsdomError listener before returning window 2018-03-06 16:29:21 +08:00
Clark Du
d9d747c9a8
refator: only throw jsdomerror in window initialization 2018-03-06 16:14:34 +08:00
Clark Du
d6f22c904d
fix: throw jsdomError to avoid renderAndGetWindow hanging 2018-03-06 14:03:09 +08:00
dojineko
dd9dfc6d55 to be simple 2018-03-05 09:58:10 +09:00
Hana Shiro
0a823252ae fix file permission in lib and test (#2883) 2018-02-27 00:18:36 +03:30
Ricardo Gobbo de Souza
f7928d0413 perf: if need parse path 2018-02-14 17:32:41 -02:00
Ricardo Gobbo de Souza
764fe7b8f1 fix: typo 2018-02-14 17:31:11 -02:00
Ricardo Gobbo de Souza
f0a6bdd51a feat: add layout on module 2018-02-07 09:58:48 -02:00
Ricardo Gobbo de Souza
6f073d7093 fix: conflict old pr 2018-02-05 12:54:36 -02:00
Sébastien Chopin
0b1e54dc57
Merge branch 'dev' into config-pages-dir 2018-02-05 09:16:27 +01:00
Sébastien Chopin
6acd9b6516
Merge pull request #2736 from dojineko/variable-csp
Multiple policy support for Content-Security-Policy
2018-02-05 09:14:11 +01:00
Sébastien Chopin
0a52cd2031
Merge pull request #2755 from clarkdo/static_prefix
feature: add static.prefix
2018-02-05 08:55:28 +01:00