Commit Graph

3809 Commits

Author SHA1 Message Date
Daniel Roe
df188d7734
fix(nuxi): respect NUXT_PORT and NUXT_HOST vars in dev mode (#3973) 2022-03-30 21:07:26 +02:00
Daniel Roe
1a39eff502
docs: update migration guide for nuxt 3 (#3819)
Co-authored-by: Dan Pastori <dan@521dimensions.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-30 19:32:30 +02:00
Anthony Fu
96ad9cfe97
docs: init testing section (#3930) 2022-03-30 18:00:08 +02:00
Clément Ollivier
1a7b570c82
docs(examples): add examples to docs (#3966)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-30 17:59:28 +02:00
Pooya Parsa
a9381a0ad4 fix: update lockfile 2022-03-30 16:58:14 +02:00
Anthony Fu
43007c6d13
fix(vite-node): improve server.mjs (#3967) 2022-03-30 13:34:23 +02:00
Clément Ollivier
9181734912
docs(examples): fix minor errors (#3965) 2022-03-30 10:34:05 +02:00
pooya parsa
7e6c4e2d5b
fix(schema): fix RouterConfig types (#3964) 2022-03-30 10:17:46 +02:00
renovate[bot]
c28c6a8c8a
chore(deps): update all non-major dependencies (#3952)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 15:23:36 +02:00
Sébastien Chopin
d3a1ed9839
docs(cli): fix typo (exsits -> exists) (#3954) 2022-03-29 15:14:11 +02:00
Anthony Fu
8dd77d7b6e
feat: refreshNuxtData function and app:data:refresh hook (#3929)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-28 19:12:41 +02:00
renovate[bot]
e534ffe22f
chore(deps): update all non-major dependencies (#3910)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 13:56:52 +02:00
Ahad Birang
90415d4674
fix(nitropack): respect custom output dir (#3940) 2022-03-28 13:56:35 +02:00
Anthony Fu
56252155ec
fix(vite-node): bugfixes for production build (#3934) 2022-03-28 13:02:28 +02:00
Daniel Roe
9ebea904f4
fix(bridge): don't call nuxt app if instance is inaccessible (#3906)
* fix(bridge): don't call nuxt app if instance is inaccessible

* fix: early return if no instance, for clarity
2022-03-25 16:48:37 +01:00
Jakub Andrzejewski
19842ce471
feat(nuxi): scaffold files with nuxi add (#3841)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
2022-03-25 15:56:36 +01:00
renovate[bot]
5fa9d79303
chore(deps): update all non-major dependencies (#3888)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-25 15:43:14 +01:00
Daniel Roe
7c1a8ae0d9
fix(bridge): define mixin outside plugin, to avoid memory leak (#3900) 2022-03-25 13:51:07 +01:00
Daniel Roe
38e92597f4
fix(vite): externalise #_config in ssr: false (#3899) 2022-03-25 13:18:57 +01:00
Daniel Roe
9e67d58005
refactor(bridge): provide vue2 compat with a transform plugin (#3886) 2022-03-25 13:18:43 +01:00
Kevin Marrec
e34ed887f2
fix(nuxt3): use path for uniqueness of routes when resolving (#3895) 2022-03-25 12:55:05 +01:00
Kevin Marrec
e7b57fa34c
fix(nuxt3): improve types of uniqueBy utility (#3897) 2022-03-25 12:54:40 +01:00
Daniel Roe
773dd59a2c
fix(bridge): don't double-install plugins when using compat vueApp.use (#3898) 2022-03-25 12:53:56 +01:00
Daniel Roe
c7f4e3c709
docs: update serverMiddleware to add warning on function and make example esm (#3894)
* docs: update serverMiddleware to add warning on function and make example esm

* Update packages/schema/src/config/_common.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-25 12:40:15 +01:00
Daniel Roe
dc1064f79a
fix(nuxt3): avoid #_config app import in dev mode (#3896) 2022-03-25 12:38:36 +01:00
renovate[bot]
e72e6d0d0f
chore(deps): update dependency unctx to ^1.1.2 (#3882)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 14:22:53 +01:00
Daniel Roe
23e7afb5ec
fix(bridge): replace nuxt 3 auto-imports (#3850) 2022-03-24 14:15:32 +01:00
Anthony Fu
11c460fa99
fix(vite-node): entry path and executing in production (#3854) 2022-03-24 13:35:09 +01:00
Kevin Marrec
cd8dbdc01c
test: add test suites for extends features (#3862) 2022-03-24 13:33:42 +01:00
renovate[bot]
f6b7c97e9a
chore(deps): update devdependency @unocss/reset to ^0.30.1 (#3881)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 20:23:33 +08:00
renovate[bot]
1ad65998a4
chore(deps): update all non-major dependencies (#3859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 13:14:12 +01:00
Daniel Roe
236faf9cc6
fix(bridge): add implemented runtime nuxt hooks (#3872) 2022-03-24 13:13:56 +01:00
Alex Liu
993bc7c8a1
doc: fix useAsyncData documentation error (#3879) 2022-03-24 13:13:41 +01:00
L.Rain
e19c638b3f
docs: update hooks (#3875) 2022-03-24 12:03:18 +01:00
Daniel Roe
a0c4d6e7e3
test: extract dynamic paths test from within other test! (#3860) 2022-03-23 15:57:35 +01:00
renovate[bot]
a8317830a8
chore(deps): update all non-major dependencies (#3857)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 12:58:44 +01:00
Árpád Illyés
cc543e9ac1
docs: use path in example (#3856) 2022-03-23 11:38:36 +01:00
Clément Ollivier
797da68979
docs(examples): normalize examples using tips (#3852) 2022-03-23 09:44:36 +01:00
renovate[bot]
e16998126d
chore(deps): update vite dependencies to ^0.7.8 (#3853)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 09:32:32 +01:00
renovate[bot]
1f9a0d8f42
chore(deps): update devdependency vue-tsc to ^0.33.7 (#3846)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 09:18:44 +01:00
Daniel Roe
93c4dfe091
fix(vite): resolve #_config in base plugin (#3848) 2022-03-23 09:10:12 +01:00
yyyanghj
8bb02be218
docs: fix typo (#3842) 2022-03-22 19:20:22 +01:00
Kevin Marrec
7c0d2e176c
feat(nuxt3): extends support for pages & middleware directories (#3783)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-22 19:12:54 +01:00
Daniel Roe
29078bba74
feat(nuxt3): support lazy and custom-resolved components (#3814) 2022-03-22 18:04:31 +01:00
Daniel Roe
7458dd1aa6
fix(nuxt3): use shared module for dynamic paths (#3757)
* test: add tests for dynamic paths + relative assets

Co-authored-by: Anthony Fu <hi@antfu.me>

* fix: rework client config and use shared module for dynamic paths

* resolves webpack public path regression

* refactor: use more similar names to nitro equivalent

* fix: align config exports

* refactor: remove `__` prefix within dynamic paths module

* refactor: use '#_config' to indicate internal alias

* Update packages/nuxt3/src/core/templates.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>

* refactor: use `#_config` alias and rename to `paths.mjs`

Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 16:51:26 +01:00
renovate[bot]
6c4a34a675
chore(deps): update dependency postcss-import to ^14.1.0 (#3837)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 16:48:10 +01:00
renovate[bot]
7ce91d83c9
chore(deps): update dependency unctx to ^1.1.0 (#3836)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 16:30:07 +01:00
Daniel Roe
acd22db576
docs: deprecate buildModules in schema (#3830) 2022-03-22 12:33:30 +01:00
Daniel Roe
70f067a14b
fix(vite): sort postcss plugins to add autoprefixer & cssnano last (#3827) 2022-03-22 11:40:36 +01:00
Daniel Roe
f3168d923b
fix(nuxt3): respect srcDir and normalize string in component dirs (#3815)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 11:35:16 +01:00