1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-22 17:25:53 +00:00
Commit Graph

112 Commits

Author SHA1 Message Date
Daniel Roe
c9837dca48
test: update type assertion tests to strict equality () 2022-08-17 15:43:02 +02:00
Anthony Fu
69c281f384
fix(nuxt): fallback to static error page on server error ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-17 11:14:00 +02:00
Anthony Fu
f350a70775
refactor(nuxt): enable strict type checking ()
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 () 2022-08-10 17:46:46 +02:00
Daniel Roe
fc1d7d9507
fix(schema): cleanup meta tags and deduplicate charset and viewport () 2022-08-07 11:53:53 +02:00
Daniel Roe
60656dfa2c
fix(nuxt): remove side-effect imports from page metadata () 2022-08-05 18:35:38 +02:00
Daniel Roe
07fa104b46
test: add key matching test for keyed composables () 2022-08-05 13:02:20 +02:00
Daniel Roe
746d553249
fix(nuxt): resolve plugins and middleware to their full path () 2022-08-04 17:15:42 +02:00
Julien Huang
2cdaf8065c
feat(nuxt): remove wrapper from client only components ()
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 ()
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 () 2022-08-02 13:20:44 +02:00
Daniel Roe
8b5159f3c0
fix(webpack): output .mjs to use crossorigin preloads () 2022-07-29 14:50:02 +02:00
Daniel Roe
90d1825020
test: wrap components with <div> () 2022-07-29 11:41:01 +02:00
Daniel Roe
4e2667fcb7
feat(nuxt): add support for components/global ()
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 ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-25 14:37:39 +02:00
Thomas
210cf30691
fix(nuxt): normalize manifest css file entries () 2022-07-25 14:05:58 +02:00
Daniel Roe
c7d072c495
fix(vite): ignore baseurl when pruning manifest () 2022-07-25 11:52:21 +02:00
Anthony Fu
1a862526fe
perf(nuxt): transform #imports to improve tree-shaking () 2022-07-21 16:27:23 +02:00
Daniel Roe
8f7b9f904e
fix(pages): ignore expression delimiters within quotes ()
* 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 ()
* 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 ()
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 ()
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 () 2022-07-07 18:04:38 +02:00
Daniel Roe
8831e4a4b9
fix(vite): don't terminate with escaped delimiters () 2022-06-10 17:17:11 +02:00
Daniel Roe
846be5cee2
fix(nuxt): transform extends layers within node_modules () 2022-06-10 15:33:16 +02:00
Anthony Fu
a802b87ac7
feat(nuxt): support auto imports within <template> () 2022-06-08 22:09:31 +02:00
Daniel Roe
cad4edd5a3
fix(nuxt): respect baseurl when redirecting (and universal router) ()
* 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 ()
* 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 () 2022-05-03 11:31:58 +02:00
Daniel Roe
4826918ed0
fix(nuxt): process middleware after plugins () 2022-05-02 12:00:08 +02:00
Alex Liu
eb903bd66e
fix(nuxt3): improve error types for useAsyncData and useFetch ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-29 20:42:22 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt () 2022-04-20 10:52:39 +02:00
Daniel Roe
e0b2a3bfe4
chore: use node: prefix for built-in modules () 2022-04-15 17:19:05 +02:00
Daniel Roe
3e7d6dafa1
test(nuxt3): add test case for computed head () 2022-04-14 17:27:31 +02:00
Daniel Roe
ee93659147
feat(nuxt3): allow providing a ref as default value () 2022-04-13 19:41:41 +02:00
pooya parsa
f91f987401
chore: move bridge to nuxt/bridge () 2022-04-13 13:43:42 +02:00
Daniel Roe
e43ba6ecd2
fix(nuxt3): render nuxt custom error page ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-12 22:37:32 +02:00
renovate[bot]
aa26c6cdb1
chore(deps): update all non-major dependencies ()
* chore(deps): update all non-major dependencies

* upda lockfile

* test: disable bridge test

* increase windows test timeout

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-12 20:36:39 +02:00
Daniel Roe
1091d456a8
feat(nuxt, bridge): support titleTemplate, viewport and charset for useHead () 2022-04-11 11:03:31 +02:00
pooya parsa
2cc3aaba5f
chore(ci): enable testing fixtures in development ()
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-04-07 21:15:30 +02:00
pooya parsa
11626eea4f
feat!: migrate to nitropack ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:28:04 +02:00
Anthony Fu
1ffcc741dc
test: await client errors () 2022-04-07 02:39:44 +02:00
Alex Liu
b7dc0931c4
feat(nuxt3): let useAsyncData() return value that error can defined type by generics () 2022-04-06 18:02:45 +02:00
Anthony Fu
4ba0604522
test: enable browser tests ()
* test: enable browser tests

* chore: refactor
2022-04-05 20:38:23 +02:00
Daniel Roe
e90b8c28d1
refactor(nuxt3,bridge)!: rename useMeta to useHead () 2022-04-05 16:02:29 +02:00
Kevin Marrec
dda0cebc76
feat(nuxt3): extends support for app/router.options () 2022-04-04 10:23:11 +02:00
Daniel Roe
ade3378a00
refactor(bridge): align bridge with vite and inline systemjs polyfill in entry () 2022-04-01 15:22:22 +02:00
Anthony Fu
4c77c88325
feat: support async plugins and middlewares () 2022-04-01 11:55:23 +02:00
Daniel Roe
9e67d58005
refactor(bridge): provide vue2 compat with a transform plugin () 2022-03-25 13:18:43 +01:00
Kevin Marrec
e34ed887f2
fix(nuxt3): use path for uniqueness of routes when resolving () 2022-03-25 12:55:05 +01:00