Nuxt/packages/generator/test
Pooya Parsa a82f8d8b1f
feat(generator): export:route hook and setPayload (#7422)
* feat(generator): shared payload support for `nuxt export`

* feat: add `export:` hooks for upward compatibility

* fix: use setPayload to avoid breaking usage

* test: update test

* fix: deep assign

* chore: update tests

* fix: route payload has more periority than shared one

* test: update generator hook tests

* lint: remove unnecessary import
2020-05-27 16:51:51 +02:00
..
__utils__ feat(generator): export:route hook and setPayload (#7422) 2020-05-27 16:51:51 +02:00
generator.gen.test.js feat(generator): export:route hook and setPayload (#7422) 2020-05-27 16:51:51 +02:00
generator.init.test.js feat(generator): export:route hook and setPayload (#7422) 2020-05-27 16:51:51 +02:00
generator.route.test.js feat(generator): export:route hook and setPayload (#7422) 2020-05-27 16:51:51 +02:00
index.test.js test: unit tests for generator (#4857) 2019-01-29 10:16:45 +00:00