Pooya Parsa
6a6794e020
feat: components ( #7374 )
...
[release]
2020-05-18 13:58:48 +02:00
Sébastien Chopin
76c40e3ffd
test: add test for inject in context ( #7252 )
2020-04-21 14:40:42 +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
Sébastien Chopin
6db325c321
feat(vue-app): new fetch syntax ( #6880 )
2020-02-04 19:36:22 +01:00
Xin Du (Clark)
e8aca9eb11
chore: update @nuxtjs/eslint-config to v2 and fix lint errors ( #6732 )
2019-11-26 23:42:39 +01:00
Snir Shechter
92c7f4ed24
feat(builder): followSymlinks
option to allow for symlinks ( #6368 )
2019-09-29 11:06:44 +02:00
Pim
b17f331fe5
feat: support setting (non-essential) vue-meta options by user ( #6432 )
2019-09-18 15:51:44 +02:00
Xin Du (Clark)
e9c4bcfee2
feat(vue-app): function watchQuery ( #6297 )
2019-08-31 19:23:11 +01:00
Pim
b286024dd3
test: add client-only test to basic fixture ( #6315 )
...
test: check for no-ssr deprecation warning
2019-08-27 11:25:25 +02:00
Xin Du (Clark)
c14bb35aad
test: remove unnecessary generate ( #6301 )
2019-08-25 23:41:32 +01:00
Xin Du (Clark)
d85d2fb612
Revert "feat: function watchQuery ( #6245 )" ( #6296 )
...
This reverts commit 3c61830a0d
.
2019-08-25 10:53:23 +01:00
Xin Du (Clark)
3c61830a0d
feat: function watchQuery ( #6245 )
2019-08-25 10:12:59 +01:00
Sébastien Chopin
09878cd6dc
feat(vue-app): add $nuxt.refresh() ( #6194 )
...
* feat(vue-app): add $nuxt.refreshPageData()
* hotifx: lint
* chore: use getMatchedComponentsInstance util
* fix: rename to refreshPage
* fix: rename to refresh
* feat: add $nuxt.$context and handle error
* feat: set $nuxt.context
* hotfix: test
2019-08-07 15:12:02 +02: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
Hyunje Jun
2a66d1952e
fix(vue-app): consider watchQuery
option in routerViewKey
( #5516 )
2019-05-09 16:23:59 +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
Xin Du (Clark)
159123feea
feat(babel-preset-app): support specifying core-js version ( #5411 )
2019-03-30 23:53:17 +04:30
Kevin Marrec
9a3fc8a44e
refactor(ts): only generate tsconfig.json if missing ( #5356 ) ( #5367 )
...
Co-authored-by: SAWADA Takayoshi <sawadasuiren@gmail.com>
2019-03-29 18:30:49 +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
Xin Du (Clark)
af76e07b56
fix(builder): js layout ( #4701 )
...
[release]
2019-01-07 15:44:51 +03:30
Clark Du
6a4808f576
fix(eslint): amp tags not support pascal case
...
[skip release]
2018-12-20 13:49:16 +00:00
Alexander Lichter
b2eee1772e
feat: add store module HMR ( #4582 )
...
* feat: add store module HMR
* fix: replace export with window.$nuxt
Thanks to @pi0 for the suggestion :)
* refactor: apply only in dev mode on client side
* test: make store module test more descriptive
* fix: clear modules to apply HMR
* fix: remove console.log
* fix: e2e tests
* refactor: use void
2018-12-19 16:22:00 +01:00
Jonas Galvez
669fecc6a3
feat: allow scrollToTop to be explicitly disabled ( #4564 )
...
Co-authored-by: James Homer <jameshomer85@gmail.com>
2018-12-16 13:32:39 +03:30
Jonas Galvez
7831e57943
fix: properly serialize head functions ( #4558 )
...
#4079
2018-12-15 12:07:31 +03:30
Dmitry Molotkov
a6fed0acbd
fix(vue-app): allow passing custom props to error function ( #4462 )
...
Resolves #4460 .
2018-11-30 22:45:29 +03:30
Alexander Lichter
71136fc9b6
feat: allow lang="postcss"
in Vue SFCs ( #4417 )
...
* fix: allow postcss lang as tag
* refactor: own postcss rule
2018-11-30 16:23:44 +01:00
Dmitry Molotkov
949785f58e
fix(server, vue-app): allow unicode page names ( #4402 )
2018-11-25 18:22:37 +03:30
Clark Du
52a92fbc48
refactor: use PascalCase for components names ( #4396 )
2018-11-24 22:19:19 +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
Dmitry Molotkov
9fbd581557
fix: handle errors that are not error instances ( #4321 )
2018-11-14 22:47:44 +03:30
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
Tatsuyuki Ishi
d1f6f0dc09
loading: add throttle option to skip progress for fast loads ( #3886 )
...
* loading: add throttle option to skip progress for fast loads
* Disable some tests relying on internals
2018-09-18 18:16:27 +02:00
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
Clark Du
85c9c00b73
fix: no-ssr test error
2018-09-13 10:02:49 +01:00
Clark Du
b11e9c0e51
feat: upgrade eslint to 5.x ( #3494 )
...
- [ ] babel-eslint https://github.com/babel/babel-eslint/issues/664
- [x] eslint-config-standard-jsx https://github.com/standard/eslint-config-standard-jsx/issues/32
- [x] eslint-config-standard to be stable release https://github.com/standard/eslint-config-standard/issues/123
- [x] eslint-plugin-html
- [x] eslint-plugin-import
- [x] eslint-plugin-jest
- [x] eslint-plugin-node
- [x] eslint-plugin-promise
- [x] eslint-plugin-standard https://github.com/standard/eslint-plugin-standard/issues/29
- [x] eslint-plugin-vue https://github.com/vuejs/eslint-plugin-vue/pull/504
- [x] eslint-plugin-react https://github.com/yannickcr/eslint-plugin-react/releases/tag/v7.10.0
2018-08-31 21:34:12 +01:00
Pooya Parsa
83d9dc4105
test: add tests for validate with error
2018-08-25 22:24:16 +04:30
Jonas Galvez
608b913b8a
feat: async validate() ( #3797 )
2018-08-25 14:12:00 +04:30
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
Clark Du
432720b8c8
fix: appveyor test failure ( #3754 )
...
* fix: appveyor test failure
* ci: bring back yarn cache
* ci: turn off matrix
* refactor: use babel instead of esm in jest
* refactor: use es modules in fixtures
2018-08-17 22:25:23 +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
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
cb18aa6f53
feat: add Vue.config configuration to nuxt.config.js ( #3655 )
...
After #3564 and the request of #3427 (plus #3452 ) I decided to add a dedicated `vueConfig`object to the `nuxt.config.js` file.
The keys will be projected on Vue.config.
By default, `Vue.config.performance` is enabled in dev mode, `Vue.config.silent` is enabled in production mode.
Doc PR incoming.
Resolves : #2910 , #3427
2018-08-08 20:05:23 +01:00