Commit Graph

44 Commits

Author SHA1 Message Date
Pooya Parsa
0c1d94a2c7 fix(cli): apply default value for NODE_ENV environment variable (#4003) 2018-09-28 18:23:25 +02:00
Dmitry Molotkov
9c3702c819 fix: use options.server values port, host, socket (#3942)
* user options.server values port, host, socket

* fix: Remove default value
2018-09-23 10:49:51 +01:00
Jonas Galvez
72479687d9 feat(core, cli): builtin support of https and unix sockets (#3831)
Co-authored-by: Aurélien Chrétien <aurelien@manager.one>
Co-authored-by: Rémy Sanchez <remy.sanchez@hyperthese.net>
2018-09-02 13:50:25 +04:30
Tatsuyuki Ishi
716c04f4e9 Isolate client and server artifacts (#3758) 2018-08-20 18:04:55 +02:00
Clark Du
3b4b8640b8 fix: use correct config for server host and port 2018-08-13 16:31:54 +01:00
Anthony Fu
0dff1b8fe9 feat: support server option in nuxt.config.js to set PORT and HOST (#3701)
* feat: support `server` option in `nuxt.config.js` to set PORT and HOST

* lint

* change the conifg priority to `argv > nuxt.config.js > env.NUXT_PORT > env.PORT > package.json > default`

* check for `options.server`
2018-08-12 15:26:30 +01:00
Sébastien Chopin
83700a58da fix: Use dist/nuxt-start to faster bootup 2018-08-08 18:23:53 +02:00
Clark Du
a0ca257263 fix: lost context in closures 2018-07-25 17:10:56 +01:00
Alexander Lichter
095404a251 refactor: change function calls when arity is one (#3563) 2018-07-20 16:42:31 +01:00
Pooya Parsa
0ca99426c9 chore: remove unnecessary scopes 2018-04-02 00:50:46 +04:30
Pooya Parsa
89d5f3753e perf: prevent duplicate showReady 2018-04-01 00:50:14 +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
Pooya Parsa
ed5bfacb4d eslint: fix import/order 2018-03-16 23:22:17 +03:30
qm3ster
ad0649925d
Refactor cli
Extracted common logic
Improved style consistency
2018-02-07 02:44:29 +02:00
Pooya Parsa
dbba642d56 fix debug logs
env.DEBUG should be set BEFORE requireing Utils
2018-01-16 10:13:41 +03:30
Pooya Parsa
13166bcf78 misc: improve CLI errors 2018-01-11 19:41:50 +03:30
Atinux
d93eb06ae9 lint: Lint files 2017-10-31 14:16:40 +01:00
Pooya Parsa
a289a55a72 simplify modes 2017-08-19 17:52:53 +04:30
Pooya Parsa
6c4803a840 nuxt-start: check if ssr bundle is required 2017-08-19 14:30:40 +04:30
Pooya Parsa
d589bc5819 static ~> ssr-only 2017-08-18 17:16:03 +04:30
Pooya Parsa
5903319241 add -m flag 2017-08-18 15:24:35 +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
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
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
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
Sébastien Chopin
602adf0464 Refactor nuxt commands using minimist 2017-06-12 21:33:25 +04:30
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
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
Sébastien Chopin
17650c25e0 Middleware feature 🔥 2017-02-03 15:09:38 +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
bbf6ea2953 Update commands 2016-12-07 18:47:47 +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
cb7406cba6 router.base is now working as expected 2016-11-10 19:34:59 +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