Commit Graph

2340 Commits

Author SHA1 Message Date
Pooya Parsa
de51b8a6da set this.resources in constructor
Prevent error when access methods earlier than init is called
2017-06-14 21:41:38 +04:30
Pooya Parsa
4569b3a46f remove ssr === false condition 2017-06-14 21:28:14 +04:30
Pooya Parsa
a00378102b move bundleRenderer to renderRoute with proper timeout 2017-06-14 21:22:23 +04:30
Pooya Parsa
17d0082861 prevent calling init multi times 2017-06-14 21:03:04 +04:30
Pooya Parsa
36c1deda17 fix tests 2017-06-14 20:47:49 +04:30
Pooya Parsa
42bf9bb41d decouple builder from renderer + improvements 2017-06-14 20:43:43 +04:30
Pooya Parsa
b61694ca21 clone options to prevent unwanted side-effects
fixes with-config test that runs nuxt twice with same nuxt.config.js file
2017-06-14 03:22:30 +04:30
Pooya Parsa
76c3b358cc better No build files found error 2017-06-14 03:17:22 +04:30
Pooya Parsa
ce5cb62ee6 fix index.test 2017-06-14 02:50:19 +04:30
Pooya Parsa
c519c3edff fixes + improvements 2017-06-14 02:39:03 +04:30
Pooya Parsa
37c92e7398 better build chain 2017-06-14 01:13:00 +04:30
Pooya Parsa
fa97b2af67 typo 2017-06-14 01:07:28 +04:30
Pooya Parsa
4c07a397e2 builder: decouple build from production logic 2017-06-14 01:04:28 +04:30
Pooya Parsa
5768ef5092 update render references 2017-06-14 00:53:02 +04:30
Pooya Parsa
b79f845842 update tests 2017-06-14 00:45:06 +04:30
Pooya Parsa
f3ecfb6a92 better exit message 2017-06-14 00:44:51 +04:30
Pooya Parsa
5ba7d593aa fix constructor order logic 2017-06-14 00:29:26 +04:30
Pooya Parsa
277aa7e6fa refactor renderer init into it's component 2017-06-14 00:24:23 +04:30
Pooya Parsa
1d95e38f9c eslint 2017-06-14 00:15:37 +04:30
Pooya Parsa
103365d81b update nuxt tests 2017-06-14 00:14:54 +04:30
Pooya Parsa
030273db49 improve build lifecycle 2017-06-14 00:01:30 +04:30
Pooya Parsa
dfa1d915d6 working version! 2017-06-13 22:28:04 +04:30
Pooya Parsa
00af7e5b53 eslint 2017-06-13 01:11:26 +04:30
Pooya Parsa
c347a1bf48 generator: send back duration & errors
Manual merge 7760e9a49b
2017-06-13 01:10:44 +04:30
Pooya Parsa
747616e927 Merge remote-tracking branch 'origin/dev' into tapable
# Conflicts:
#	lib/generate.js
2017-06-13 01:07:34 +04:30
Pooya Parsa
a318144b9a reorder imports 2017-06-13 01:02:34 +04:30
Pooya Parsa
a774a11720 update nuxt tests 2017-06-13 01:00:16 +04:30
Pooya Parsa
344e4a159e Update generator 2017-06-13 00:46:42 +04:30
Pooya Parsa
a14819ca88 Nuxt.* Components 2017-06-13 00:46:27 +04:30
Pooya Parsa
754fcc2f59 update tests 2017-06-13 00:45:28 +04:30
Pooya Parsa
84350e59c5 test(utils): use Nuxt.utils 2017-06-13 00:06:52 +04:30
Pooya Parsa
e753f93f97 better mapTransitions
prevents some unhandled cases
2017-06-13 00:06:05 +04:30
Sebastien Chopin
9e433764d7 Merge branch 'dev' of github.com:nuxt/nuxt.js into dev 2017-06-12 19:37:28 +02:00
Sebastien Chopin
7760e9a49b generate: exit when done and send back duration & errors 2017-06-12 19:36:47 +02:00
Pooya Parsa
0511e90a70 Merge remote-tracking branch 'origin/dev' into tapable
# Conflicts:
#	lib/build.js
#	lib/render.js
2017-06-12 21:36:09 +04:30
Pooya Parsa
61534431a9 eslint 2017-06-12 21:34:45 +04:30
Pooya Parsa
13a4e71a83 refactor into components 2017-06-12 21:34:45 +04:30
Pooya Parsa
d3f66e132e chore(client): simplify resolveTransitions()
#566
2017-06-12 21:34:45 +04:30
Pooya Parsa
5c36ed7b73 fix(client): combine & prefer leave* transitions of from route
#566
2017-06-12 21:34:45 +04:30
Pooya Parsa
6ca11461ce feat(nuxt-child): bind transition calls to parent
WIP for #566
2017-06-12 21:34:45 +04:30
Sébastien Chopin
f9584fc810 Update example 2017-06-12 21:34:45 +04:30
Sébastien Chopin
8853b7af04 Remove build.loaders option 2017-06-12 21:34:45 +04:30
Sébastien Chopin
4623170c99 Display localhost instead of 0.0.0.0 2017-06-12 21:34:13 +04:30
Sébastien Chopin
602adf0464 Refactor nuxt commands using minimist 2017-06-12 21:33:25 +04:30
Pooya Parsa
647f3db320 chore(client): simplify resolveTransitions()
#566
2017-06-12 05:09:42 +04:30
Pooya Parsa
549b8da21f fix(client): combine & prefer leave* transitions of from route
#566
2017-06-12 04:58:03 +04:30
Pooya Parsa
2b2d9e5e71 feat(nuxt-child): bind transition calls to parent
WIP for #566
2017-06-12 04:13:39 +04:30
Sébastien Chopin
76a1969da1 Update example 2017-06-11 21:12:51 +02:00
Sébastien Chopin
2913d90109 Remove build.loaders option 2017-06-11 21:04:59 +02:00
Pooya Parsa
8fe9380df9 refactor into components 2017-06-11 18:47:36 +04:30