Commit Graph

141 Commits

Author SHA1 Message Date
Daniel Roe c1bbc5fcd4
ci: use node 18 for ci jobs (#23701) 2023-10-16 22:23:38 +01:00
Rafał Chłodnicki db0e1554ba
fix(vue-app): skip page render early on error or navigation (#20719) 2023-05-23 00:10:38 +01:00
Daniel Roe 6896e10599
fix(config): let webpack merge postcss plugins (#18839) 2023-02-06 14:59:12 -08:00
Xin Du (Clark) 454a9af242
feat(webpack)!: update postcss to v8 (#9671)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-02 07:13:28 -08:00
Xin Du (Clark) 816007b994
chore(test): fix external redirect link (#9816)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-09-17 16:51:20 +01:00
David Ovčačík 9f02e5dae7
feat(vue-app): `context.beforeSerialize` method (#9332)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-06-04 16:21:16 +02:00
Xin Du (Clark) 4a60a1934c chore(lint): fix vue/html-self-closing 2021-02-20 16:58:20 +00:00
Daniel Roe 1196c17a2a
fix(vue-app): enable dynamic publicPath on server-side (#8759) 2021-02-04 21:56:18 +01:00
Daniel Roe 92018e586b
feat(vue-app): support custom `fetchKey` for full static generation (#8466)
[release]
2020-12-17 12:49:59 +01:00
Daniel Roe 1269773d9d
fix(vue-app): do not preserve state when registering client-side dynamic module (#8486) 2020-12-14 10:52:02 +01:00
pooya parsa c15fc421ab
refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00
Daniel Roe e14b7201b4
fix(vue-app): prevent redirection loop with uri encoded path (#8280) 2020-11-04 13:35:12 +00:00
Daniel Roe 011b3b4491
test: fix redirect tests (#8282) 2020-11-04 13:32:57 +00:00
Matthieu Sieben 128c9743c4
fix(vue-app): handle server-side routing errors (#7801) 2020-08-04 11:29:23 +02:00
Xin Du (Clark) 7f1429ebb3
fix(vue-app): not strip trailing slash for redirect external domain (#7533) 2020-06-18 17:32:39 +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
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