Jonas Galvez
a3dd7dad6b
feat: configurable global name ( #4012 )
...
Co-authored-by: JuliaNeumann <jn.julianeumann@gmail.com>
2018-10-09 15:38:33 +03:30
Dmitry Molotkov
4061b6fd87
dont allow to cache error pages ( #3962 )
2018-09-25 17:16:15 +02:00
Dmitry Molotkov
df148a896e
fix: properly serialize undefined in vuex store ( #3913 )
...
* allow to serialize undefined variable in vuex store
* test properly
* fix test
* lock
2018-09-25 10:51:07 +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
Alexander Lichter
b74d537cba
feat(renderer): make compression middleware customizable ( #3863 )
2018-09-09 00:48:14 +04:30
Alexander Lichter
6e8a51509c
feat(builder, module): allow error layouts to be added through addLayout. closes #3194 . ( #3834 )
2018-09-02 13:52:10 +04:30
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
Alexander Lichter
3e027269c0
feat: merge renderAndGetWindow options ( #3761 )
...
* feat: merge renderAndGetWindow options
* fix: typoe
* refactor: remove explicit comparison for truthy value
* fix: setup defaults correctly
* test: add custom params test
2018-08-22 17:14:15 +02:00
Sébastien Chopin
820f0fae1a
[WIP] Hooks: render:routeContext and render:routeDone ( #3773 )
...
* hooks: Add render:routeDone hook
* hooks: Deprecate render:context and add render:routeContext
* refactor: delegate context to routeContext
* test: Add test for render:routeDone hook
* lint: Fix lint issue
2018-08-21 18:35:46 +02:00
Tatsuyuki Ishi
716c04f4e9
Isolate client and server artifacts ( #3758 )
2018-08-20 18:04:55 +02:00
Clark Du
b920f22483
refactor: add hooks ( #3772 )
2018-08-20 15:20:45 +01:00
Jonas Galvez
97910de3ec
Improve hooks in nuxt.config.js ( #3766 )
...
* Improve hooks in nuxt.config.js
* No mult-line for
2018-08-20 14:19:09 +02:00
Clark Du
e9bb9e7236
fix: avoid duplicate listening message
2018-08-16 10:36:54 +01:00
Clark Du
1492a13162
refactor: nuxt dev watcher ( #3732 )
2018-08-15 13:48:34 +02:00
Clark Du
85a8af570d
refactor: use resloveAlias for watch
2018-08-13 22:25:03 +01:00
Jonas Galvez
8d21b60a24
Render dist options ( #3671 )
...
Picking up on [yet another abandoned PR](https://github.com/nuxt/nuxt.js/pull/2933/files ). Made all changes suggested by @clarkdo and wrote a test.
2018-08-10 10:34:55 +01:00
Alexander Lichter
b4d81dc584
lint: require await in async function ( #3676 )
...
* lint: require await in async function
* lint: replace "error" with 2 in config
2018-08-10 08:41:23 +01:00
Alexander Lichter
52d9629bac
eslint: Prefer const over let ( #3650 )
2018-08-08 12:54:05 +02:00
Sébastien Chopin
a3926d5266
core: Show ip address if hostname is 0.0.0.0
2018-08-08 12:45:49 +02:00
Clark Du
3b5a4709e8
feat: support global command-line build and start ( #3647 )
...
With this pr, user can install nuxt globally, then start or build simple repos without npm /yarn install:
```bash
npm i nuxt-edge -g
nuxt dev/build/start
```
2018-08-07 19:50:04 +01:00
Clark Du
fe6c524be1
refactor: add deprecation log for addVendor
2018-08-07 10:24:01 +01:00
Jonas Galvez
3f1d634fb7
Consistent parens in arrow functions ( #3630 )
...
* Minor consistency enhancements
* Arrow parenthesis consistency
* Change linting rule
* Fix typo
* Update .eslintrc.js to only require parens for blocks
* Update style according to brace-only suggestion
* Remove --fix from lint
* Tweak no-loading time (failing test)
* Tweak no-loading time (failing test) (2)
* Tweak no-loading time (failing test) (3)
* Tweak no-loading time (failing test) (4)
* Tweak no-loading time (failing test) (5)
2018-08-06 02:12:44 +02:00
Clark Du
dbba872be2
misc: remove useless codes
2018-08-03 16:06:18 +01:00
Clark Du
31d25df332
refactor: load all modules with esm ( #3556 )
2018-07-30 18:05:42 +02:00
Alexander Lichter
8c85f2299e
feat(csp): add reportOnly option ( #3559 )
2018-07-30 18:04:02 +02:00
Clark Du
5bdd0dd8a5
fix: undefined host in listening on message ( #3595 )
...
Fix error in #3529
2018-07-26 17:38:15 +01:00
Blake Kostner
ee95461cb1
resolve server listen details with server.address() ( #3529 )
...
* resolve server listen details with server.address()
* remove empty whitespace
* overwrite host and port in server listen method
* no let
2018-07-26 15:52:00 +02:00
Alexander Lichter
a37772f0f8
fix(csp): remove duplicate sha-256 hashes ( #3574 )
2018-07-26 15:48:28 +02:00
Alexander Lichter
65d318d475
refactor: remove unused variables ( #3576 )
2018-07-25 09:00:21 +01:00
Clark Du
dfef5252de
Merge remote-tracking branch 'origin/master' into dev
2018-07-19 12:26:52 +01:00
Clark Du
e2296061b0
misc: fix typos
2018-07-18 15:39:48 +01:00
Blake Kostner
842cc19431
fix(nuxt): try to resolve node_modules before alias logic ( #3505 )
...
Fixes issues with @<organization>/<package> for plugins and more.
2018-07-06 18:57:21 +04:30
Clark Du
d98c98360a
refactor: smiplify csp
2018-07-01 23:43:30 +04:30
Clark Du
1958ba8953
chore: remove to-do which has been done
2018-06-13 09:41:18 +01:00
zyxd
3b2ed038da
fix: wait for core to be ready before listen ( #3407 )
2018-06-06 21:22:08 +04:30
Pooya Parsa
1f0053c160
fix(renderer): fix problem with HTMLPlugin's minify option ( #3392 )
2018-06-01 15:53:57 +04:30
Michael
66030467d1
fix: add title before other meta for better SEO ( #3362 )
2018-05-23 11:17:47 +04:30
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