Commit Graph

57 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
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
Thomas Beduneau 04d33829f9
fix(vue-app): use `app.context.route` for resolving components (#9050) 2021-04-01 12:00:51 +02:00
Daniel Roe e277bb284b
fix(vue-app): align client fetch key with server (#8809) 2021-02-12 12:55:27 +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
Dmitriy 45b7838710
fix(vue-app): empty `$fetch` function for SSR with static target (#8053) 2020-09-10 21:16:00 +02:00
Dmitriy 757d5d46da
fix(vue-app): missing layout in error page with `splittedChunks.layout` (#8016) 2020-09-09 12:32:10 +02:00
Konstantin Barabanov b4d3ebf472
fix(vue-app): sanitize path with trailing slash in `getLocation` (#6744) (#6745) 2020-06-30 19:16:21 +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
Nicolas PENNEC a2495a6873
chore: fix typos (#7219) 2020-04-14 11:26:40 +02:00
Xin Du (Clark) a7052b637b
feat(vue-app): trigger watchParam when param is changed in same route (#6244) 2020-03-13 21:28:42 +01:00
pooya parsa 2091233a6d test: add basic test for old-fetch functionality 2020-03-13 19:20:10 +01:00
pooya parsa 9e69f60d38 test: remove /old-fetch warning check
a test to ensure legacy works TBD
2020-03-12 18:31:37 +01:00
Matteo Rigon 539c865533
fix(vue-app): use child transition name when navigating to parent (#6946) 2020-02-11 15:06:37 +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
Xin Du (Clark) 578d5d41f4 fix(vue-app): error page layout not correctly applied in client rendering (#6479) 2019-09-30 10:44:35 +02:00
Pim 93a0924754 fix(vue-app): prevent looping on error during render of error page (#6217) 2019-09-01 16:58:56 +02:00
Xin Du (Clark) e9c4bcfee2
feat(vue-app): function watchQuery (#6297) 2019-08-31 19:23:11 +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
Hyunje Jun 2a66d1952e fix(vue-app): consider `watchQuery` option in `routerViewKey` (#5516) 2019-05-09 16:23: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
Pooya Parsa 13cb0f73d9 refactor: remove builder coupling from server (#5157) 2019-03-08 20:43:23 +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
Dmitry Molotkov a6fed0acbd fix(vue-app): allow passing custom props to error function (#4462)
Resolves #4460.
2018-11-30 22:45:29 +03:30
Clark Du 52a92fbc48 refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
Dmitry Molotkov 9fbd581557 fix: handle errors that are not error instances (#4321) 2018-11-14 22:47:44 +03:30
Pooya Parsa 39b558f59c
refactor core into sub-packages (#4202) 2018-10-31 00:12:53 +03:30
Pim 72961acabd feat: nuxt-loading enhancenments (#3891) 2018-10-29 19:18:40 +03:30
Jonas Galvez 5ec5cda1f8 chore: test utils cleanup (#4180) 2018-10-24 17:23:34 +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
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
Jonas Galvez 608b913b8a feat: async validate() (#3797) 2018-08-25 14:12:00 +04:30
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
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
Alexander Lichter 52d9629bac eslint: Prefer const over let (#3650) 2018-08-08 12:54:05 +02:00
Jonas Galvez de5b36a574 `loading: false` e2e test fix (#3635)
*  hotfix

* Fixed manual loading test

* Disable waitFor() test due to random failure in appveyor
2018-08-06 20:42:26 +02: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
Jonas Galvez 0e42e98751 Add `loading: false` option to pages (#3629)
* Add hasManualLoading

* Add hasManualLoading (2)

* Debugging

* Debugging (2)

* Change 'manual' to false

* Add custom-page-loading example

* Add custom-page-loading example (2)

* Changed approach

* Added custom-page-loading/README.md

* Change running loading time in about.vue

* Patch loadAsyncComponents

* Added final page

* Changed approach (2)

* Fixed example

* Fixed example (2)

* Fix example package name

* Linting

* Improved examples (more to the point)

* Linting (2)

* Fix typo

* Adjust indentation

* Added noloading.vue to basic fixture

* Added noloading tests

* Linting (3)

* Debugging test

* Linting (4)

* Debugging test (2)

* Debugging test (3)
2018-08-05 23:56:49 +02:00
Clark Du 241a071a3e test: add postcss custom feature test case 2018-07-25 17:58:24 +01:00
Alexandre Villeneuve 85cfc625ee feat: optional pug support (#3206) 2018-04-21 11:57:48 +04:30