Matthieu Sieben
128c9743c4
fix(vue-app): handle server-side routing errors ( #7801 )
2020-08-04 11:29:23 +02:00
Pim
df7e1ad3a2
fix(vue-renderer): fix meta injection when ssr renderer generates a spa page ( #7439 )
2020-06-10 17:26:50 +02:00
Ahad Birang
be726e42b6
feat(generator): allow excluding exported pages using export:page
hook ( #7455 )
2020-06-03 21:35:28 +02:00
Pooya Parsa
6a6794e020
feat: components ( #7374 )
...
[release]
2020-05-18 13:58:48 +02:00
Pooya Parsa
06073697f4
fix(vue-app): sanitize layouts after resolve for splitChunks.layout
( #7139 )
2020-03-27 14:08:48 +01:00
Xin Du (Clark)
10ac6aed9a
feat(wepack): support @import
using ~assets
in css files ( #6987 )
2020-02-24 23:47:43 +01:00
Snir Shechter
92c7f4ed24
feat(builder): followSymlinks
option to allow for symlinks ( #6368 )
2019-09-29 11:06:44 +02:00
Xin Du (Clark)
c14bb35aad
test: remove unnecessary generate ( #6301 )
2019-08-25 23:41:32 +01:00
pooya parsa
e7cc2757c3
refactor: update eslint-config to 1.x
...
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30
Sébastien Chopin
01acf66c67
feat(vue-app): rename transition
to pageTransition
and deprecate it ( #5558 )
2019-04-20 14:31:59 +04:30
Pooya Parsa
2015140d12
feat(vue-app): universal fetch ( #5028 )
...
* pkg(nuxt-start): add node-fetch, unfetch
* pkg(vue-app): add node-fetch, unfetch
* add yarn.lock
* feat(config): _app.fetch options
* feat(builder): add fetch to templateVars
* feat(vue-app): polyfill global with fetch
* feat(fixtures/basic): /api/test
* add fetch example to fixtures
* remove unfetch from nuxt-start
* update template snapshot
* revert extra new line in server.js
* single line if
2019-02-14 16:56:58 +01:00
Jonas Galvez
7831e57943
fix: properly serialize head functions ( #4558 )
...
#4079
2018-12-15 12:07:31 +03:30
Dmitry Molotkov
949785f58e
fix(server, vue-app): allow unicode page names ( #4402 )
2018-11-25 18:22:37 +03:30
Alexander Lichter
e0537d54be
fix: fall back to default value when publicPath
is falsy ( #4365 )
...
* test: let tests fail
* fix: add falsy default fallback
* fix(publicPath): force adding trailing slash
* fix: also change _publicPath
2018-11-20 18:12:05 +01:00
Clark Du
853ca4e7d4
refactor: styleLoader and postcss ( #4318 )
2018-11-12 21:18:50 +00:00
Alexander Lichter
b3eb4278a5
fix: serialize config head fn shorthand correctly ( #4283 )
...
[skip ci]
2018-11-08 02:03:09 +03:30
Paul Gascou-Vaillancourt
208eba3867
fix(app): Throw error only if value is undefined ( #4206 )
2018-10-27 20:11:42 +03:30
Clark Du
61407fec1d
refactor: config Postcss preset and plugins together ( #3927 )
2018-10-09 15:56:11 +03:30
Dmitry Molotkov
5af65527b0
allow plugin in directory with index.js file ( #3908 )
...
* allow plugin in directory with index.js file
* add test for plugin in dir
* fix: refacto plugins key
2018-09-18 18:06:55 +02:00
Sébastien Chopin
6975655d78
feat: Overwrite store.registerModule ( #3909 )
...
* feat: Overwrite store.registerModule
Make `store.registerModule` works seamlessly with server-side rendering.
* fix: test failure
2018-09-18 17:21:25 +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
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
Alexander Lichter
e26f23b74a
feat: respect beforeEnter for route if set ( #3760 )
...
* feat: respect beforeEnter for route if set
* test: add redirecting beforeEnter function and test
2018-08-18 18:15:37 +02: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
Clark Du
dbbcac1f4f
fix: add cssnano in ssr test
2018-08-06 18:42:23 +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
241a071a3e
test: add postcss custom feature test case
2018-07-25 17:58:24 +01:00
Pooya Parsa
8acef8d01e
feat: use postcss-preset-env instead of postcss-cssnext ( #3291 )
...
https://moox.io/blog/deprecating-cssnext
2018-06-02 01:41:55 +04:30
Pooya Parsa
a8cbbf03ce
always enable resourceHints
2018-05-02 14:29:55 +04:30
Pooya Parsa
e8079fc740
test: force enable resourceHints for basic fixture
2018-05-02 14:29:55 +04:30
Pooya Parsa
c4068c3a70
working tests
2018-03-19 03:11:14 +03:30
Pooya Parsa
ed22e78a75
basic migration to jest
2018-03-18 23:01:32 +03:30
Pooya Parsa
53e98a958c
feat: rewrite core to esm
2018-03-16 19:42:06 +03:30
Pooya Parsa
10d1b5974c
style: format with prettier
2018-01-13 08:52:11 +03:30
Pooya Parsa
edfc42086f
coverage
2017-12-12 13:55:41 +03:30
Pooya Parsa
9b8cbed512
perf: remove rollup build
...
Using native node 8.x for less transpilations
2017-12-12 13:12:29 +03:30
Pooya Parsa
423cee1f3d
test: move scopeHoisting tests into basic fixture
2017-12-08 13:40:57 +03:30
Clark Du
f27ddea7d5
feat: modulesDir supports array form
2017-11-24 17:19:50 +08:00
Clark Du
9bf73b0b5a
test: inline postcss config
2017-11-21 13:57:47 +03:30
Sébastien Chopin
2c2ee63dd1
Merge pull request #2032 from Gomah/dev
...
feat: add subFolders option for generate
2017-11-16 16:16:22 +01:00
Gomah
673630eb58
Add tests for nuxt:generate without subfolders
2017-11-17 00:33:19 +11:00
Clark Du
2228bf4209
refactor: fix [TypeError: Cannot read property split of undefined] in tests
2017-11-16 18:56:41 +08:00
Atinux
7137f848a2
hooks: Handle hooks as object
2017-10-31 12:33:15 +01:00
Sebastien Chopin
4f1e82e959
fix: payload is not fully working on nuxt generate
2017-05-30 12:00:31 +02:00
Sebastien Chopin
10d18bc454
Add generate.interval
2017-04-25 15:00:42 +02:00
johan.roxendal@gu.se
afa2e6b05c
Implemented wait in generate function so generation of dynamic routes with ajax calls are not all sceduled simultaneously, possibly flooding the data backend with queries.
...
Use generate.wait (ms) to stagger route generate calls over time.
Fixes #590 .
2017-04-25 14:04:49 +02:00
Sébastien Chopin
3fcfe4e026
Fix tests
2017-03-17 18:52:46 +01:00
Sébastien Chopin
6e2fb4642e
Fix tests
2017-02-22 18:20:17 +00:00
Sébastien Chopin
c559740b2f
test 100%
2016-12-21 20:51:43 +01:00