Daniel Roe
0f6276dc6e
fix(nuxt): mark non-augmented NuxtApp properties as unknown ( #19643 )
2023-03-14 03:09:50 -07:00
pooya parsa
e84ec61eeb
feat(nuxt): support app config for server routes ( #19489 )
2023-03-14 02:54:59 -07:00
Daniel Roe
60b4c48eb4
fix(nuxt,schema): merge custom and resolved app configs ( #19602 )
2023-03-11 14:53:28 -08:00
Xin Du (Clark)
4de4de1a71
fix(nuxt): improve types for data fetching with transform
( #19487 )
2023-03-11 14:36:10 -08:00
Daniel Roe
b19b35fb67
fix(nuxt): provide node16-style type exports ( #18431 )
2023-03-11 13:16:01 -08:00
Harlan Wilton
c91e4d7933
feat(nuxt): add useHeadSafe
and remove layer around head imports ( #19548 )
2023-03-10 00:01:21 -08:00
Julien Huang
1729d2e42f
feat(nuxt): add <NuxtClientFallback>
component ( #8216 )
2023-03-08 13:13:06 -08:00
Harlan Wilton
8732720221
perf(head): drop @vueuse/head
dependency ( #19519 )
2023-03-08 07:32:24 -08:00
Daniel Roe
df3ae8cb4e
feat(nuxt): enable chunk error handling by default ( #19086 )
2023-03-08 12:17:22 +00:00
Daniel Roe
60d07df4cc
feat(nuxt): support custom keyed composables ( #19490 )
2023-03-07 13:06:15 -08:00
Harlan Wilton
bb61496e98
feat(nuxt): allow configuring treeshakeable composables ( #19383 )
2023-03-07 01:30:05 -08:00
Alex Korytskyi
3a73f42d1c
feat(nuxt): support trailingSlashBehavior
in defineNuxtLink
( #19458 )
2023-03-06 23:17:42 -08:00
pooya parsa
71225e50c5
feat(nuxt): enable config schema by default ( #19172 )
2023-03-04 06:39:26 -08:00
Daniel Roe
3681bddfd5
feat(nuxt): auto-register modules in ~/modules
( #19394 )
2023-03-03 17:52:55 +00:00
Anthony Fu
59918f569e
feat(nuxt): scan composables with star export ( #19249 )
2023-03-01 04:24:46 -08:00
Mathieu Magalhaes
f5a3d7968c
fix(nuxt): respect redirects which differ only by trailing slash ( #18593 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-16 09:26:15 -08:00
Daniel Roe
1e8b27f36c
perf(nuxt): don't include side-effects from #components
( #19008 )
2023-02-16 07:00:40 -08:00
Daniel Roe
7d0ecb5a96
fix(nuxt): show client error if no page matches after validate fails ( #18978 )
2023-02-16 04:56:14 -08:00
Julien Huang
61cd6b5c71
fix(nuxt): use parser to treeshake client-only declarations ( #18951 )
2023-02-16 04:47:42 -08:00
Nick Williams
9dc5413cbd
fix(vite): respect isCustomElement
config for jsx transform ( #19053 )
2023-02-16 04:45:08 -08:00
Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError
hook and reload strategy ( #19038 )
2023-02-16 04:43:58 -08:00
Daniel Roe
d036d3dec5
ci: run webpack/vite and dev/prod as matrices ( #18905 )
2023-02-13 22:09:32 +00:00
Lioness100
b25b6c82c7
docs: fix typos ( #18976 )
2023-02-12 19:16:42 +00:00
Daniel Roe
19bef5aba4
fix(schema): allow type inference of arrays in runtime config ( #18931 )
...
* fix(schema): allow type inference of arrays in runtime config
* test: add types fixture
2023-02-10 07:36:10 +00:00
Daniel Roe
5426e5609a
test: decrease vite logging during tests
2023-02-09 09:26:23 +01:00
Julien Huang
113ce71c34
fix(nuxt): use parser to treeshake <ClientOnly>
( #8713 )
2023-02-08 00:59:57 -08:00
Dany Sluijk
bae73c3650
feat(nuxt): infer useFetch
return based on the method ( #18526 )
2023-02-07 06:01:31 -08:00
Daniel Roe
01076d144f
feat(schema): add type hints for runtime config ( #18652 )
2023-02-06 15:27:35 -08:00
Daniel Roe
b8f6243621
fix(nuxt): provide fallback values for undefined runtime config ( #18586 )
2023-01-28 07:18:04 -08:00
Daniel Roe
1d68b51c2c
fix(nuxt): async transform for inline middleware ( #18460 )
2023-01-25 04:52:00 -08:00
Daniel Roe
fdb31f418f
fix(nuxt): don't render unknown components with placeholder ( #18494 )
2023-01-25 02:30:59 -08:00
Daniel Roe
9751c9dab7
fix(nuxt): do not override inferred type of <NuxtPage>
( #18495 )
2023-01-25 00:44:59 -08:00
pooya parsa
1af319e0fa
feat: experimental config schema ( #18410 )
2023-01-23 19:07:21 +01:00
Daniel Roe
c5d6db7fd0
fix(nuxt): await async callWithNuxt
calls ( #18443 )
2023-01-23 11:13:21 +00:00
Anthony Fu
5ede291a14
test: init hmr testing ( #4372 )
2023-01-22 16:47:24 +00:00
Inesh Bose
98d292ae85
fix(nuxt): provide types for modules as array ( #18416 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-21 16:55:44 +00:00
Alexander Lichter
fa2672485a
fix(kit): resolve group syntax of ignore
( #15884 )
2023-01-20 16:23:16 +00:00
Daniel Roe
5e1881c20a
feat(nuxt): support server components with extracted payloads ( #10113 )
2023-01-20 12:10:58 +00:00
Jose Morel
baf9d950db
feat(vite): support build.transpile
as function ( #7767 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-19 10:56:34 +00:00
Anthony Fu
1e8da22893
fix(vite): add additional before skipping vite transform ( #10120 )
2023-01-16 16:04:16 +00:00
Daniel Roe
bf649fe576
fix(nuxt): allow overriding lower layer composables ( #10017 )
2023-01-14 01:14:24 +00:00
renovate[bot]
0b1cdcc70d
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12 ( #9086 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-14 01:13:48 +00:00
Mohammad Saleh Fadaei
5b19a0dc34
fix(nuxt): don't try to override computed layouts in definePageMeta
( #9161 )
2023-01-14 00:58:54 +00:00
Julien Huang
f4ba7ec82d
fix(nuxt): don't short circuit middleware after validate function ( #9180 )
2023-01-14 00:23:20 +00:00
Daniel Roe
2d013c5fad
feat(nuxt): server-only components ( #9972 )
2023-01-09 11:20:33 +00:00
Daniel Roe
4cf110e0d8
fix(nuxt): make dev-only regexp less greedy ( #9679 )
2022-12-13 09:39:14 +00:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports ( #9225 )
2022-12-11 21:44:52 +00:00
Evgeny Yurkin
4641e8e504
fix(nuxt): await plugin asyncdata promises in nuxt hook ( #9616 )
2022-12-10 22:44:29 +00:00
Daniel Roe
c26979a047
fix(nuxt): useCookie
with defaults should return non-null value ( #9449 )
2022-12-02 10:45:33 +01:00
Daniel Roe
aa9aec112a
fix(nuxt): allow layouts to receive custom props ( #9395 )
2022-11-29 13:16:41 +01:00
Daniel Roe
ab125bd1c5
feat(nuxt): experimental server component islands ( #5689 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-24 13:24:14 +01:00
Toby Faux
32044dc8a5
fix(nuxt): allow union type arguments for useAsyncData
( #9061 )
2022-11-16 15:27:24 +01:00
pooya parsa
5ac9d85a49
refactor!: remove deprecated api ( #9029 )
2022-11-16 03:26:35 +01:00
pooya parsa
6e78f9dbb0
fix(nuxt)!: enable payload extraction only for nuxi generate
( #9018 )
2022-11-15 17:27:34 +01:00
Harlan Wilton
fddc8b2e6e
feat(nuxt, schema): official @vueuse/head v1 support ( #8975 )
2022-11-15 17:26:38 +01:00
Daniel Roe
2c2fbdffc9
refactor(nuxt)!: move head
option support into defineNuxtComponent
( #8901 )
2022-11-15 15:47:17 +01:00
pooya parsa
b49f2a8147
refactor: update unjs dependencies to stable v1 ( #9011 )
2022-11-15 15:33:43 +01:00
Daniel Roe
9227361027
fix(nuxt): detect non-functional imports within page meta ( #8881 )
2022-11-10 11:31:01 +01:00
Daniel Roe
4bbd2618ce
feat(nuxt): auto-import utils/
directory ( #8817 )
2022-11-09 10:43:16 +01:00
Daniel Roe
4e8f59bf70
fix(schema): add declarations to ignore list ( #8787 )
2022-11-09 10:01:09 +01:00
Daniel Roe
e76ebdddd0
fix(nuxt): allow cookies to be set to null
to unset them ( #8769 )
...
Co-authored-by: Magyar Balázs <magyarb94@gmail.com>
2022-11-09 09:59:23 +01:00
Daniel Roe
ee8e9ae656
test: update type test for strict mode ( #8669 )
2022-11-03 21:22:20 +01:00
Daniel Roe
491d02f6ca
fix(nuxt)!: use parser to generate page metadata ( #8536 )
2022-11-02 11:28:41 +01:00
Daniel Roe
bdacfa6ffe
fix(nuxt): pass async-data errors through to client ( #8521 )
2022-11-02 10:07:28 +01:00
pooya parsa
265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types ( #8487 )
2022-10-27 12:36:37 +02:00
Daniel Roe
59d8c51b5b
refactor(schema)!: disable app.pageTransition
and app.layoutTransition
by default ( #8436 )
2022-10-24 17:23:49 +02:00
Daniel Roe
e79d72cd06
test: add bundle size test ( #8133 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-19 17:29:01 +02:00
Daniel Roe
cfaa46201a
fix(nuxt): lazy-load entry CSS ( #8278 )
2022-10-18 18:13:50 +02:00
renovate[bot]
c14f9f5638
chore(deps): update all non-major dependencies ( #8265 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-18 12:36:48 +02:00
Daniel Roe
63d778be13
test: update fixture with routeRules
too
2022-10-17 15:15:59 +01:00
Daniel Roe
74a90c566c
chore: use pnpm for framework monorepo ( #7895 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-17 12:10:05 +02:00
Daniel Roe
d862a6bfdd
fix(nuxt)!: refresh
to override previous requests by default ( #8190 )
2022-10-15 13:02:23 +02:00
renovate[bot]
600a6059c1
chore(deps): update all non-major dependencies ( #8122 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-12 19:00:30 +01:00
Harlan Wilton
9e6d292ba6
feat(nuxt): migrate to latest @vueuse/head
( #8000 )
2022-10-12 18:00:17 +01:00
Alex
6ef6eae2c7
fix(nuxt): don't inline styles for per-request ssr: false
( #8106 )
...
Co-authored-by: Alex C <alex.canals@jkweb.ch>
2022-10-12 09:50:16 +01:00
Daniel Roe
5f003a9738
feat(nuxt): add ssr
route rule to enable SPA mode ( #7938 )
2022-10-11 17:03:52 +01:00
Julien Huang
ee41bb6d5d
feat(nuxt): wrap #components
client exports with createClientOnly ( #7412 )
...
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-11 16:26:03 +01:00
Daniel Roe
385674494d
feat(nuxt): refresh override for data fetching composables ( #7864 )
2022-10-10 11:33:16 +01:00
Daniel Roe
829a550580
feat(pages): add validate
hook for definePageMeta
( #7870 )
2022-10-10 11:18:20 +01:00
mmis1000
c404cb1be4
fix(nuxt): page hydration and double load ( #7940 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-08 16:18:57 +02:00
Julien Huang
e6ca07bdc0
fix(nuxt): remove fragment from createClientOnly
( #7774 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-03 16:14:55 +02:00
Daniel Roe
a3fd4193ce
fix(nuxt): allow auto-import component with same filename ( #7713 )
2022-10-03 15:38:43 +02:00
Daniel Roe
1c26e07141
feat(nuxt): support redirect
within page metadata ( #7746 )
2022-09-22 15:54:34 +02:00
Daniel Roe
230af9c186
fix(nuxi): include workspaceDir
in tsconfig include ( #7726 )
2022-09-22 15:50:40 +02:00
Daniel Roe
f8a23564c3
fix(nuxt): don't treeshake client-only fallback templates ( #7659 )
2022-09-20 08:24:45 +02:00
Julien Huang
c4fe8525ef
fix(nuxt): add missing process.client
for early redirect in navigateTo ( #7625 )
2022-09-19 10:54:35 +02:00
pooya parsa
5973df1e96
chore: update examples to ^3.0.0-rc.10
and use global defineNuxtConfig
( #7515 )
2022-09-14 19:26:43 +02:00
Alex Liu
addcb5cd47
feat(nuxt): support prefetching <nuxt-link>
( #4329 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-13 22:20:23 +02:00
Daniel Roe
9382b42d7b
fix(vite): don't fail builds for virtual modules that don't support inlining ( #7440 )
2022-09-12 17:14:11 +02:00
Daniel Roe
13dc0b94c4
feat(nuxt): allow exposing type augmentations from extends layers ( #7442 )
2022-09-12 15:41:15 +02:00
Daniel Roe
563cf7c1c9
fix(nuxt): use more specific FetchError
for useFetch
errors ( #7435 )
2022-09-12 11:23:19 +02:00
pooya parsa
888bd7c145
feat(nuxt): payload rendering support ( #6455 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-10 15:57:16 +02:00
Daniel Roe
be77d477d0
fix(webpack): don't parse styles for composable keys ( #7333 )
2022-09-08 10:55:30 +02:00
Daniel Roe
9c3bef4a01
fix(nuxt): allow abortMiddleware
to receive a nuxt error or error options ( #7335 )
2022-09-08 10:52:00 +02:00
Vl4dimyr
fc2be9ed42
feat(nuxt): add immediate
option for useAsyncData
and useFetch
( #5500 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 11:47:40 +02:00
Daniel Roe
577a7b681e
perf(vite): remove duplicate css links from rendered page when inlined ( #7264 )
2022-09-07 10:41:08 +02:00
Daniel Roe
1ca294e125
fix(nuxt): don't override payload error if it is present ( #7290 )
2022-09-06 18:21:53 +02:00
Daniel Roe
de62520990
feat(nuxt, vite): inline global and component styles in server response ( #7160 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-03 15:03:30 +02:00
Harlan Wilton
fe3fc34b12
fix(head): case http-equiv
correctly ( #7190 )
2022-09-03 14:31:09 +02:00
pooya parsa
68d12b468b
feat: allow extending with theme
config ( #7131 )
2022-09-01 12:05:02 +02:00
renovate[bot]
e38e1de740
refactor: apply lints from @nuxtjs/eslint-config-typescript
v11 ( #7114 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-31 20:34:17 +02:00
Daniel Roe
b90d286631
feat(nuxt): add setPageLayout
utility ( #6826 ) ( #7075 )
...
Co-authored-by: HomWang <516310460@qq.com>
2022-08-31 10:02:48 +02:00
pooya parsa
5a17458af5
fix(nuxt): use shared state for asyncData ( #7055 )
...
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:34:09 +02:00
Daniel Roe
0087e7bbe0
docs: add information on how to use options api asyncData ( #7019 )
2022-08-29 12:02:24 +02:00
Alexander Lichter
a4dfe232f0
feat(nuxt): navigateTo
supports external redirects ( #5022 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-24 18:04:56 +02:00
Daniel Roe
f3499d788a
feat(nuxt): allow programmatically prefetching global components ( #6661 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 21:12:22 +02:00
Daniel Roe
cfb7e59171
feat(nuxt): add warning in dev mode if layouts/pages do not have a single root node ( #5469 )
2022-08-23 12:25:48 +02:00
Julien Huang
c688e1898c
fix(nuxt): pass params to client-only slot ( #6584 )
2022-08-17 17:26:51 +02:00
pooya parsa
94f76ea930
feat(nuxt): app.config
with hmr and reactivity support ( #6333 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-17 17:23:13 +02:00
Daniel Roe
405629dc35
fix(nuxt): use vue-devtools-stub
to mock @vue/devtools-api
for both cjs + esm ( #6713 )
2022-08-17 16:44:36 +02:00
Daniel Roe
c9837dca48
test: update type assertion tests to strict equality ( #6709 )
2022-08-17 15:43:02 +02:00
Anthony Fu
f350a70775
refactor(nuxt): enable strict type checking ( #6368 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-12 19:47:58 +02:00
Daniel Roe
408febada4
refactor(nuxt)!: remove null
handling for titleTemplate
( #6487 )
2022-08-10 17:46:46 +02:00
Daniel Roe
fc1d7d9507
fix(schema): cleanup meta tags and deduplicate charset and viewport ( #6378 )
2022-08-07 11:53:53 +02:00
Daniel Roe
07fa104b46
test: add key matching test for keyed composables ( #6372 )
2022-08-05 13:02:20 +02:00
Daniel Roe
746d553249
fix(nuxt): resolve plugins and middleware to their full path ( #6350 )
2022-08-04 17:15:42 +02:00
Julien Huang
2cdaf8065c
feat(nuxt): remove wrapper from client only components ( #6165 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-02 17:05:02 +02:00
Harlan Wilton
622c976cec
fix(nuxt): render head scripts that use body: true
( #6293 )
...
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-02 13:43:25 +02:00
Harlan Wilton
aa653ef6cb
fix(nuxt): avoid duplicate titleTemplate ( #6296 )
2022-08-02 13:20:44 +02:00
Daniel Roe
90d1825020
test: wrap components with <div>
( #6192 )
2022-07-29 11:41:01 +02:00
Daniel Roe
4e2667fcb7
feat(nuxt): add support for components/global
( #6070 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-27 15:05:34 +02:00
David Tai
3a822c7177
refactor(nuxt): enhance useFetch
and useLazyFetch
request type ( #4825 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-25 14:37:39 +02:00
Anthony Fu
1a862526fe
perf(nuxt): transform #imports
to improve tree-shaking ( #5763 )
2022-07-21 16:27:23 +02:00
Daniel Roe
8f7b9f904e
fix(pages): ignore expression delimiters within quotes ( #6033 )
...
* fix(pages): ignore expression delimiters within quotes
* perf: use re
* test: add test that would have failed
2022-07-21 15:49:48 +02:00
pooya parsa
2e85cd0252
refactor(nuxt): add treeshakeClientOnly
experimental flag ( #5934 )
...
* refactor(nuxt): add `treeshakeClientOnly` experimental flag
* test: enable flag for fixture
2022-07-17 15:13:04 +02:00
Daniel Roe
df04a665ce
perf(nuxt): tree-shake client-only components from ssr bundle ( #5750 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-14 19:46:12 +02:00
Daniel Roe
23546a270c
feat(nuxt): automatically generate unique keys for keyed composables ( #4955 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-07 18:26:04 +02:00
Daniel Roe
4d607080f5
feat(nuxt): tree-shake client and server-only composables ( #5749 )
2022-07-07 18:04:38 +02:00
Daniel Roe
8831e4a4b9
fix(vite): don't terminate with escaped delimiters ( #5409 )
2022-06-10 17:17:11 +02:00
Daniel Roe
846be5cee2
fix(nuxt): transform extends layers within node_modules
( #5042 )
2022-06-10 15:33:16 +02:00
Anthony Fu
a802b87ac7
feat(nuxt): support auto imports within <template>
( #4904 )
2022-06-08 22:09:31 +02:00
Daniel Roe
cad4edd5a3
fix(nuxt): respect baseurl when redirecting (and universal router) ( #4933 )
...
* fix(nuxt): respect baseurl when redirecting (and universal router)
* test: add test case for redirect
2022-05-11 19:33:29 +02:00
renovate[bot]
7e89fe8f6c
chore(deps): update all non-major dependencies ( #4914 )
...
* chore(deps): update all non-major dependencies
* update lock
* fix: update types
* fix: update error type
* test: update useFetch url
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-11 14:32:05 +02:00
Daniel Roe
f74a523f13
fix(nuxt): use router.resolve
to resolve initial url ( #4770 )
2022-05-03 11:31:58 +02:00
Daniel Roe
4826918ed0
fix(nuxt): process middleware after plugins ( #4645 )
2022-05-02 12:00:08 +02:00
Alex Liu
eb903bd66e
fix(nuxt3): improve error types for useAsyncData
and useFetch
( #4210 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-29 20:42:22 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt ( #4449 )
2022-04-20 10:52:39 +02:00
Daniel Roe
e0b2a3bfe4
chore: use node:
prefix for built-in modules ( #4384 )
2022-04-15 17:19:05 +02:00
Daniel Roe
3e7d6dafa1
test(nuxt3): add test case for computed head ( #4361 )
2022-04-14 17:27:31 +02:00
Daniel Roe
ee93659147
feat(nuxt3): allow providing a ref as default value ( #4326 )
2022-04-13 19:41:41 +02:00
pooya parsa
f91f987401
chore: move bridge to nuxt/bridge
( #4305 )
2022-04-13 13:43:42 +02:00
Daniel Roe
1091d456a8
feat(nuxt, bridge): support titleTemplate
, viewport
and charset
for useHead
( #4221 )
2022-04-11 11:03:31 +02:00
pooya parsa
11626eea4f
feat!: migrate to nitropack ( #3956 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:28:04 +02:00
Alex Liu
b7dc0931c4
feat(nuxt3): let useAsyncData()
return value that error
can defined type by generics ( #4109 )
2022-04-06 18:02:45 +02:00
Daniel Roe
e90b8c28d1
refactor(nuxt3,bridge)!: rename useMeta
to useHead
( #4066 )
2022-04-05 16:02:29 +02:00
Kevin Marrec
dda0cebc76
feat(nuxt3): extends support for app/router.options
( #3939 )
2022-04-04 10:23:11 +02:00
Daniel Roe
ade3378a00
refactor(bridge): align bridge with vite and inline systemjs polyfill in entry ( #4005 )
2022-04-01 15:22:22 +02:00
Anthony Fu
4c77c88325
feat: support async plugins and middlewares ( #3884 )
2022-04-01 11:55:23 +02: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
cd8dbdc01c
test: add test suites for extends features ( #3862 )
2022-03-24 13:33:42 +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
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
Anthony Fu
f69126e8f4
feat: support reactivity transform ( #3737 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-17 23:17:59 +01:00
Daniel Roe
e3f0b31925
refactor: add some more explicit types ( #3721 )
2022-03-16 23:44:22 +01:00
François Risoud
99705f77c0
feat(router): add proper server side redirection to navigateTo ( #3684 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-16 22:39:47 +01:00
pooya parsa
20f31712c1
feat(nuxt3): auto generate runtime config type declarations ( #3573 )
...
Co-authored-by: Rodrigo Mesquita <rodrigoriome@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Rodrigo Mesquita <30835404+rrmesquita@users.noreply.github.com>
2022-03-09 14:41:24 +01:00
Anthony Fu
40d325e5c5
test: add more tests ( #3532 )
2022-03-08 19:03:21 +01:00
Daniel Roe
856c01ab42
feat(bridge): auto-inject based on provide
key from plugins ( #3536 )
2022-03-07 16:08:09 +01:00
Daniel Roe
33ffd8be0a
fix(schema): allow untyped keys in nuxt config ( #3527 )
2022-03-07 11:37:01 +01:00
Anthony Fu
4ff1a954b3
test: add more tests ( #3392 )
2022-02-25 21:14:53 +01:00
Daniel Roe
73ba30fb69
refactor(schema,webpack)!: split out webpack and postcss build options ( #2812 )
...
* refactor: split out webpack and postcss build options
* feat(schema): set nuxt3 builder in config
* fix(schema): default postcss config file to false
* chore: update lockfile
* style: remove unused imports
* refactor(webpack): remove (previously disabled) babel config
* refactor: move shared vite options into schema
* fix(schema): omit __NUXT_BASE__ from defaults
* fix: move appDir-dependent options back to vite
* refactor: split out virtual modules
* refactor: extract compile/createDevMiddleware
* refactor: further improvements
* chore: remove `@nuxt/webpack-builder` dependency
* chore: update lockfile
* refactor: move `builder` option to top level
* fix: bind close to watcher instance
* chore: update lockfile
* fix: create portal between postcss & build.postcss.postcssOptions
* fix: remove duplicate
* fix: revert
* fix: use `postcss` directly
* fix: import builder from rootDir
* chore: dedupe webpack install
* test: update fixture to use `builder`
* fix: bind class in pify
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-25 20:11:01 +01:00
Daniel Roe
dbab979a2e
feat(nuxt3): add universal routing utilities ( #3274 )
2022-02-21 14:03:42 +01:00
Daniel Roe
16e2a54528
test: re-enable type testing ( #3328 )
2022-02-18 23:37:28 +01:00
pooya parsa
12a95ad86c
test: rework tests using @nuxt/test-utils
( #3308 )
2022-02-18 19:14:57 +01:00
Daniel Roe
8adff2edf7
fix(nuxt3): generate imports for components with named exports correctly ( #3288 )
2022-02-17 15:23:55 +01:00
pooya parsa
77aeaa3288
fix(nuxt3)!: custom response type for useFetch
using first generic ( #3268 )
2022-02-16 21:50:19 +01:00
Daniel Roe
42373e060d
fix: clean up some type issues and add type test suite ( #3199 )
2022-02-15 10:50:11 +01:00
Daniel Roe
9734856fb0
fix(nuxt3): return render function for <Head>
( #3213 )
2022-02-14 11:46:27 +01:00
Tobias Diez
18924da869
chore(bridge): Improve typing of defineNuxtPlugin function ( #1995 )
2021-11-18 12:08:58 +01:00
pooya parsa
850ef69a87
fix(bridge): disable legacy fetch polyfills ( #1866 )
2021-11-11 17:46:10 +01:00
Anthony Fu
fd043eb6e4
chore: explicitly include std-env
as dep for bridge fixture ( #1854 )
2021-11-11 11:43:14 +01:00
Anthony Fu
91b428eeea
fix(bridge): enable vite build by default ( #1709 )
2021-11-05 09:51:15 +01:00
Anthony Fu
85f39858e5
fix(vite, bridge): avoid vite resolving tsconfig.json
( #1677 )
2021-11-04 09:13:29 +01:00
Anthony Fu
495aeffd74
docs: use nuxi
everywhere ( #1577 )
2021-10-29 12:38:22 +02:00
Anthony Fu
46f858dd82
chore: move nuxt-vite
to bridge ( #1180 )
...
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-26 14:59:05 +02:00
Francisco Buceta
54549cfc61
fix(nitro): omit /index
from generated api urls ( #1371 )
2021-10-22 19:04:02 +02:00
pooya parsa
666b7f1ba8
feat: useState
composable ( #719 )
2021-10-11 19:48:03 +02:00
Daniel Roe
accbe6445c
chore: add fixtures to monorepo workspaces ( #684 )
...
* chore: add fixtures to monorepo workspaces
* chore: dedupe lockfile
2021-10-07 11:19:41 +02:00
Daniel Roe
11490cdd7d
feat(bridge): add support for <script setup>
( #678 )
2021-10-07 10:31:29 +02:00
Daniel Roe
a07b67ce57
feat(bridge): use useMeta
in bridge projects ( #664 )
2021-10-06 14:37:45 +02:00
pooya parsa
dd73a8bcad
feat: export defineNuxtConfig
from nuxt3
and @nuxt/bridge
( #669 )
2021-10-06 14:31:52 +02:00
pooya parsa
45b4946026
feat(nuxt3, bridge): useRuntimeConfig ( #625 )
...
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-10-02 22:30:20 +02:00
Daniel Roe
b712de9aa2
feat(bridge): enable automatic global imports for nuxt2 ( #609 )
2021-10-02 18:59:32 +02:00
pooya parsa
6e496373f3
feat: use native esm for all packages ( #539 )
2021-10-02 18:01:17 +02:00
Daniel Roe
71e71d1327
feat(bridge, nuxt3): expose equivalent useRoute
and useRouter
com… ( #615 )
2021-10-02 14:32:28 +02:00
Daniel Roe
ad9d2d1906
feat(bridge): add support for legacy composition api helpers ( #584 )
2021-09-29 12:38:44 +02:00
pooya parsa
fc019b8816
feat(bridge): enable composition-api ( #551 )
2021-09-22 17:34:11 +02:00
renovate[bot]
758bf3ef6f
chore(deps): update all non-major dependencies ( #521 )
2021-09-20 20:59:49 +02:00
pooya parsa
44458fcbbb
feat: nuxt bridge ( #459 )
2021-09-05 23:21:33 +02:00
pooya parsa
084b4e2123
refactor: rename nuxt-cli
to nuxi
( #430 )
2021-08-10 19:37:03 +02:00
Daniel Roe
d841673e9c
chore: upgrade to yarn v3 ( #388 )
...
[skip-release]
2021-07-26 22:14:31 +02:00
pooya parsa
be255772b2
feat: support ssr: false
( #351 )
...
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-07-21 22:05:22 +02:00
pooya parsa
6318438415
feat(nitro, vite): use native module ( #252 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-07-15 11:38:06 +02:00
pooya parsa
5aa59c2ca5
test: add nitro preset tests (v2 & v3) ( #104 )
2021-04-23 21:52:32 +02:00