Commit Graph

2592 Commits

Author SHA1 Message Date
Pooya Parsa 8d2f805770 fix(nuxt): handle `undefined` when applying defaults for `useAsyncData`
issue appeared as a regression of #5660
2022-07-07 00:12:31 +02:00
Daniel Roe 00c1daebaf
fix(vite): do not inline dynamic imports in server (#5506)
* fix(vite): do not inline dynamic imports in server

* chore: add link to upstream pr
2022-07-06 21:19:16 +02:00
mrauhu 93d60a30de
feat(nuxt): allow passing custom fetch options to `useFetch` (#5660) 2022-07-06 21:17:59 +02:00
Daniel Roe b5f5f7d5ba
perf(nuxt)!: remove legacy app context (#5630) 2022-07-06 21:15:00 +02:00
Paranoid dd436eabae
docs(plugins): add directive example (#5667)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-06 21:10:29 +02:00
Daniel Roe f09d1d88da
fix(nuxt): update `useFetch` key warning to include any function or blob (#5710)
* fix(nuxt): update `useFetch` key warning to include any function or blob

* Update packages/nuxt/src/app/composables/fetch.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-07-06 21:09:46 +02:00
Daniel Roe 490d686fe6
fix(nuxt): `useRequestHeaders` type should allow for `undefined` values (#5748) 2022-07-06 21:00:08 +02:00
Daniel Roe aa9950cfb3
docs(api): update commands with new `NODE_ENV` behavior (#5739) 2022-07-06 20:39:02 +02:00
Daniel Roe 8ffe2a33a7
fix(webpack): transpile `vue-demi` (#5721) 2022-07-06 20:23:05 +02:00
renovate[bot] 00cd260804
chore(deps): update all non-major dependencies (#5694)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-04 11:39:49 +02:00
renovate[bot] b1470c0819
chore(deps): update all non-major dependencies (#5687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 12:37:12 +02:00
renovate[bot] 9df6d2f1d2
chore(deps): update all non-major dependencies (#5588)
* chore(deps): update all non-major dependencies

* update lockfile

* update unimport

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-01 12:02:57 +02:00
Daniel Roe a41644e084
fix(kit): support adding server-only/client-only components separately (#5686) 2022-07-01 12:02:34 +02:00
Cupid Valentine ff2b4d9fa4
docs: add full stop (#5680) 2022-07-01 11:01:14 +01:00
Cupid Valentine 0e3df24c8c
docs: update vuejs-development (#5679) 2022-07-01 11:19:45 +02:00
Daniel Roe fe508f5d20
fix(nuxt): pass attrs and props to client-only components (#5668) 2022-06-30 16:08:05 +02:00
donatelloraphael 568fcaedfc
docs: clarify that `definePageMeta` only works in the pages directory (#5663)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-30 11:37:24 +02:00
Daniel Roe d4b5ff2d9d
style(docs): lint whitespaces (#5633) 2022-06-27 14:30:13 +01:00
Krutie Patel 66279aab8b
docs(api): add docs for `<NuxtPage>` component (#5591) 2022-06-27 14:14:52 +02:00
Daniel Roe 8c2c80e43e
feat(nuxt)!: support universal global middleware (#5038) 2022-06-27 14:10:29 +02:00
Anthony Fu 7efdb486db
fix(vite-node): on-demand manifest (#5017) 2022-06-27 14:08:52 +02:00
Xanlantos 026903c5e7
docs: rework the layout section (#5118) 2022-06-27 14:08:19 +02:00
Ahad Birang 67f40d7e40
fix(vite): do not watch ignored pathes (#5632) 2022-06-27 14:06:31 +02:00
Daniel Roe 6f8b7a9043
feat(kit): add `addLayout` (#5537) 2022-06-27 13:47:54 +02:00
vasiliy d2c3727c5f
docs: replace invalid link to composables (#5611) 2022-06-27 13:45:42 +02:00
Nestor Vera c4f64faaf7
docs: minor wording improvements (#5622) 2022-06-27 13:44:27 +02:00
Ibrahim Abdullahi Aliyu 3b15cc4352
docs: update `pnpm` usage (#5597) 2022-06-27 12:39:44 +02:00
Haruaki OTAKE ad420238b1
fix(schema, postcss): cssnano is enabled if not dev (#5583) 2022-06-23 20:27:23 +02:00
Anthony Fu 2db154fde4
feat(auto-import)!: auto unwrap for auto import in template (#5573) 2022-06-23 11:51:46 +02:00
Daniel Roe e38de4af4d
fix(vite): disable hmr in build (#5505) 2022-06-22 20:07:54 +02:00
sumiren 697f547b2c
docs: update usage about runtime config and environment variables (#5569) 2022-06-22 20:07:23 +02:00
renovate[bot] 8f98f60032
chore(deps): update all non-major dependencies (#5541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 20:04:32 +02:00
Daniel Roe 308148977d
feat(kit): support client and server flags for `addVitePlugin` (#5560) 2022-06-22 19:29:51 +02:00
Qin Guan 2156079405
docs(examples): rename `hello.ts` to `[...hello].ts` (#5261)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-22 19:25:27 +02:00
Yuki Inoue 1b6289f60f
docs(api): add watch parameter in `useFetch` options (#5562)
Co-authored-by: 井上裕貴 <inoueyuki@inoueyukinoMacBook-Pro.local>
2022-06-22 12:41:34 +02:00
Alexander Lichter de3b4084a5
docs(testing): fix async/await (#5539) 2022-06-20 18:53:45 +02:00
renovate[bot] 42c5428ee9
chore(deps): update all non-major dependencies (#5536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 17:40:20 +02:00
renovate[bot] cc72796a1c
chore(deps): update dependency rollup to ^2.75.7 (#5530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 10:44:27 +02:00
renovate[bot] 9f81d478cd
chore(deps): update all non-major dependencies (#5502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 10:21:04 +02:00
pooya parsa 128b32a459
docs: add notes about reporting security issues (#4895)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-17 10:00:37 +02:00
renovate[bot] 9be0be2d68
chore(deps): update dependency mlly to ^0.5.3 (#5496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 18:18:09 +02:00
renovate[bot] 8278fa5825
chore(deps): update all non-major dependencies (#5475)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 12:26:34 +02:00
Anders Søgaard d7e5777460
docs: fix link to `nuxt/image` issue (#5490) 2022-06-16 11:19:50 +01:00
Daniel Roe cf255259ca
fix(vite): add typecheck to vite plugins (#5464) 2022-06-15 17:18:45 +02:00
Damian 11aa8bf739
docs: align value for defaulting the page's title with type declaration (#5447) 2022-06-15 14:03:58 +02:00
Daniel Roe d7d97cd7d1
fix(nuxt): prefer nuxt app context over `getCurrentInstance` (#5456) 2022-06-15 14:00:34 +02:00
renovate[bot] 2fa0248cab
chore(deps): update all non-major dependencies (#5473)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 13:59:47 +02:00
Julien Huang ccec0a3738
feat(kit): allow `addServerHandler` to use method suffix of the file path (#5465) 2022-06-15 13:53:31 +02:00
Daniel Roe e10517d4d7
fix(nuxt): normalize string transpile paths for windows (#5461)
* fix(nuxt): normalize string transpile paths for windows

* Update packages/nuxt/src/core/nuxt.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-15 13:52:46 +02:00
Daniel Roe 411eee3b77
fix(schema): add types for `vite:` hooks (#5472) 2022-06-15 13:51:58 +02:00