Commit Graph

112 Commits

Author SHA1 Message Date
Pooya Parsa
5903319241 add -m flag 2017-08-18 15:24:35 +04:30
Pooya Parsa
61111c87f0 move errors.js 2017-08-12 23:48:01 +04:30
Pooya Parsa
ea33d83c2e pretty-error integration 2017-08-05 22:16:39 +04:30
Pooya Parsa
60b28e887f fix(nuxt-start): build detection
spa builds has no ssr json file
2017-08-05 16:15:31 +04:30
Pooya Parsa
e6987d62f0 chore: remove uncessesarry source-map install 2017-07-17 22:29:31 +04:30
Pooya Parsa
85825d190c fix: gracefully handle unhandled promises
This prevents nuxt process exiting in dev mode on unhandled promises
2017-07-09 17:07:54 +04:30
Marcello Gesmundo
f30a4f7169 Fix #1039 2017-07-06 15:02:48 +02:00
Sebastien Chopin
d3cacd0e58 Add back error handler on nuxt-dev 2017-07-03 13:53:37 +02:00
Sébastien Chopin
e4e9149b54 feat: Add dynamic component injection + example 2017-07-02 20:47:01 +02:00
Sebastien Chopin
ebc6da4c08 Add server-destroy 2017-06-20 15:07:38 +02:00
Pooya Parsa
daa50e4efb refactor server into nuxt 2017-06-20 16:14:47 +04:30
Sébastien Chopin
840a6cfe00 Fix small typos 2017-06-18 19:32:59 +02:00
Pooya Parsa
59d7e786aa Fully decouple builder
runBuild flag removed
2017-06-18 20:17:21 +04:30
Sébastien Chopin
fb9b2b5e63 Lint 2017-06-18 13:36:03 +02:00
Pooya Parsa
9d1765ae91 nuxt-start: throw error if nuxt build not called 2017-06-16 18:34:40 +04:30
Pooya Parsa
829ffa634b refactor structure 2017-06-16 17:12:45 +04:30
Pooya Parsa
5722a92c4c many improvements 2017-06-16 02:49:53 +04:30
Pooya Parsa
2576e8795e init() ~> ready() 2017-06-15 19:29:26 +04:30
Pooya Parsa
25d106e2ab runBuild option 2017-06-14 23:21:14 +04:30
Pooya Parsa
42bf9bb41d decouple builder from renderer + improvements 2017-06-14 20:43:43 +04:30
Pooya Parsa
030273db49 improve build lifecycle 2017-06-14 00:01:30 +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
Sébastien Chopin
c9313572bd Refactor nuxt commands using minimist 2017-06-11 15:48:20 +02:00
Sebastien Chopin
2b80bc3e5c No need to call build() on development 2017-06-02 17:59:20 +02:00
Pooya Parsa
c5ca8c64f1 refactor: nuxt constructor no longer returns a promise
by not returning a promise we can expose .render method
also the old way of using nuxt won't change by 1.x release
2017-05-31 18:51:16 +04:30
Pooya Parsa
975e468388 app rebuild await for nuxt initialization 2017-05-12 23:19:55 +04:30
Pooya Parsa
497d673727 Install all modules in sequence before nuxt init
For this functionality Nuxt constructor would return a Promise so all bin commands updated to resolve promise before using nuxt
2017-05-11 15:53:58 +04:30
Alex M
c177354633 Add support to --config-file to nuxt-dev 2017-04-19 17:01:26 -03:00
Sébastien Chopin
1cefff8194 Add watchers option and url after build 2017-03-25 15:16:07 +01:00
Pierre RAMBAUD
fbd1c609fd Add missing comments 2017-03-15 15:14:16 +01:00
Pierre RAMBAUD
c3bcd05295 Add config file option
- Add optional --config-file and -c argv parameters
- Display log message if file isn't found

Issue: #391
2017-03-15 15:01:44 +01:00
Sébastien Chopin
c5b8d16a2b Add progress-bar when building 2017-02-08 14:09:59 +01:00
Sébastien Chopin
17650c25e0 Middleware feature 🔥 2017-02-03 15:09:38 +01:00
Sébastien Chopin
f40dfbaeee Use default is option un given 2017-01-24 20:25:56 +01:00
Sébastien Chopin
7552da1453 Add analyse option 2017-01-23 17:56:05 +01:00
Sébastien Chopin
e016b5d184 Exit with code 1 on build error 2017-01-20 18:55:30 +01:00
Sébastien Chopin
e6c3ef11be lint bin 2017-01-20 12:43:48 +01:00
yuchonghua
59a0df86bf remove cross-spawn
Do not use cross-spawn, to facilitate the use of process.send node-fork
for pipe communication
2017-01-19 01:40:35 +08:00
Sébastien Chopin
b8ec7329f7 Set color for debug module 2016-12-15 18:48:31 +01:00
Sébastien Chopin
0dd867cdec Fix rebuild when nuxt.config.js changed 2016-12-14 15:30:55 +01:00
Sébastien Chopin
5b3dc23cd3 Avoid crashing server when config changed 2016-12-12 15:01:30 +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
a42cda8db4 add es-lint no-console 2016-12-09 18:54:41 +01:00
cj
c4823f27a8 added no-console to eslint 2016-12-08 09:41:20 -06:00
Sébastien Chopin
648033f077 update build 2016-12-07 19:01:46 +01:00
Sébastien Chopin
bbf6ea2953 Update commands 2016-12-07 18:47:47 +01:00
Sébastien Chopin
a1ae04dad6 Delete nuxt-init, use nuxt/starter instead 2016-11-25 18:37:52 +01:00
Sébastien Chopin
6d86df8291 Upgrade to vue 2.1.0 2016-11-23 13:40:25 +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
a98e6d4e9b Watch changes on nuxt.config.js when launching nuxt-dev 2016-11-16 18:41:09 +01:00
Sébastien Chopin
c5c9448a26 remove 2 dependencies 2016-11-11 15:30: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
2cc88acbe9 Add DEBUG flag when using the bin 2016-11-10 15:24:22 +01:00
Alexandre Chopin
bd5ec528c5 Merge remote-tracking branch 'nuxt/master' 2016-11-10 13:24:34 +01:00
Alexandre Chopin
e0641e1e51 generator 2016-11-10 12:33:52 +01:00
Sébastien Chopin
d88948bdea map static to /
v0.3.0
2016-11-10 02:19:47 +01:00
Sébastien Chopin
18a2b57655 Add nuxt-build and nuxt-start, build:false and dev option 2016-11-09 23:59:41 +01:00
Sébastien Chopin
876054ed48 remove harmony-proxies 2016-11-08 01:18:26 +01:00
Sébastien Chopin
749274d22a Version 0.1.5
- Add examples/with-store/ to show how to use Vuex with nuxt.js
- Fix fetch().then when fetch does not return a promise
- Map static folder to /static/
2016-11-07 20:57:44 +01:00
Sébastien Chopin
8ab135af55 Prototype 0.1.0 working
Alpha 0.1.0
2016-11-07 02:34:58 +01:00