Commit Graph

4378 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng 9dda97e736
refactor(runtime-vapor): clean up 2023-12-15 01:30:34 +08:00
白雾三语 6eaf4b651b
fix(runtime-vapor): `unmountComponent` (#63)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-15 01:23:17 +08:00
白雾三语 9e031275d7
fix: throw error without `script` block (#61)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-13 15:16:33 +08:00
白雾三语 5e681b5945
feat(compiler-vapor): functional custom directive support updated hooks (#58)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-13 15:01:07 +08:00
Rizumu Ayaka 42b913283b
test: add all tests for `v-on` (#52) 2023-12-12 15:58:07 +08:00
白雾三语 2e25c22ddf
test: add v-show unit test (#56) 2023-12-12 15:52:49 +08:00
三咲智子 Kevin Deng 19fb55febf
fix(runtime-vapor): custom directive instance
closes #50
2023-12-12 15:39:00 +08:00
三咲智子 Kevin Deng 3ba1315e72
refactor(runtime-vapor): remove argument generic 2023-12-11 16:24:07 +08:00
Rizumu Ayaka c87512f592
test: add transform tests to `v-html` / `v-text` tests (#49)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-11 03:05:11 +08:00
Rizumu Ayaka 28b11f5cf7
test: add transform tests to `v-once` tests (#44)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-11 01:41:29 +08:00
三咲智子 Kevin Deng d1dd1e110a
fix(compiler-vapor): add modifier for empty v-on 2023-12-10 01:36:34 +08:00
Rizumu Ayaka b421aa91a2
test: combine with transform and codegen tests for `v-bind` (#45)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-10 01:33:29 +08:00
ubugeeei 12250a85b9
feat(runtime-vapor): component props (#40) 2023-12-10 01:33:18 +08:00
三咲智子 Kevin Deng ecf7da98d7
feat: pushFnCall 2023-12-10 01:26:19 +08:00
三咲智子 Kevin Deng 0c26b0d4ed
feat: withIndent 2023-12-10 01:05:26 +08:00
三咲智子 Kevin Deng 4b4cb055a4
refactor: pushMulti 2023-12-10 01:01:57 +08:00
三咲智子 Kevin Deng da8e196ca5
refactor(compiler-vapor): v-on 2023-12-10 00:06:20 +08:00
三咲智子 Kevin Deng 45e86e36d7
fix(compiler-vapor): generate static expression 2023-12-09 23:29:30 +08:00
三咲智子 Kevin Deng 341ddf0190
feat(compiler-vapor/v-bind): globally allowed 2023-12-09 23:29:22 +08:00
Rizumu Ayaka 26308c51eb
feat: camel modifier for `v-bind` (#39) 2023-12-09 18:41:59 +08:00
三咲智子 Kevin Deng 5f769745fa
test: add transform test 2023-12-09 04:11:02 +08:00
Rizumu Ayaka e3b21b25b1
test: split test files (#38) 2023-12-09 03:29:38 +08:00
三咲智子 Kevin Deng 5f90f8bef0
feat: v-show 2023-12-08 17:37:21 +08:00
三咲智子 Kevin Deng 71bc13575f
types(runtime-vapor): add modifiers & argument type 2023-12-07 10:46:34 +08:00
三咲智子 Kevin Deng 41a7079493
refactor: extract Data 2023-12-07 01:55:00 +08:00
白雾三语 0cca23f574
feat(compiler-vapor): support custom directives argument & modifiers (#34)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-07 01:41:17 +08:00
三咲智子 Kevin Deng 910545f524
test: remove fixtures 2023-12-07 01:12:27 +08:00
三咲智子 Kevin Deng 8786c076d9
perf(compiler-vapor): combine effect 2023-12-07 01:11:25 +08:00
三咲智子 Kevin Deng 082b6c40b5
refactor(compiler-vapor): extract v-on 2023-12-07 00:39:31 +08:00
三咲智子 Kevin Deng 3d9f0ac614
feat(compiler-vapor): shorthand & no expression 2023-12-07 00:36:42 +08:00
Rizumu Ayaka 8482bad7af
test: compound expression for `v-bind` (#36) 2023-12-07 00:22:36 +08:00
三咲智子 Kevin Deng a10c8a4128
test: update snapshot 2023-12-06 18:52:14 +08:00
三咲智子 Kevin Deng c695fdc1de
Merge remote-tracking branch 'upstream/minor' 2023-12-06 18:50:31 +08:00
三咲智子 Kevin Deng f907a2a708
fix(compiler-vapor): event handler 2023-12-06 18:49:41 +08:00
三咲智子 Kevin Deng 9e9703d7b6
feat(runtime-vapor): render component 2023-12-06 18:49:41 +08:00
三咲智子 Kevin Deng a9f2bfcdba
fix: resolve options for parser
ref: https://github.com/vuejs/core/pull/9760
2023-12-06 18:48:45 +08:00
三咲智子 Kevin Deng 0dc875d53e
fix(compiler-core): use the same resolved options for all compile stages (#9760) 2023-12-06 14:41:21 +08:00
三咲智子 Kevin Deng 505c5a8c07
fix: genExpression 2023-12-06 14:25:15 +08:00
三咲智子 Kevin Deng f644ed4081
feat: compound expression for v-bind 2023-12-06 00:17:16 +08:00
三咲智子 Kevin Deng 3474e06542
fix: exclude compund expression type 2023-12-06 00:17:16 +08:00
Rizumu Ayaka b866cf0cc3
test: `v-cloak` (#32) 2023-12-05 22:36:46 +08:00
nandi95 8e27692029
feat(runtime-core): provide full props to props validator functions (#3258) 2023-12-05 17:14:17 +08:00
Evan You a817883c26 chore: Merge branch 'main' into minor 2023-12-05 10:54:20 +08:00
Evan You e2f2b75b62 chore(deps): bump vitest to 1.0 2023-12-05 10:48:04 +08:00
Carlos Rodrigues 243f504dc5
chore(playground): expose esm-browser files (#9725) 2023-12-05 03:08:21 +08:00
Evan You fef451d2ca
chore: remove v-is deprecation enum
support is already removed during parser rewrite
2023-12-05 00:13:04 +08:00
Evan You 6c7eb8a9e2
feat(compiler): lift vnode hooks deprecation warning to error 2023-12-05 00:13:04 +08:00
Evan You 682f24047f
chore: remove deprecated AppConfig.unwrapInjectedRef option 2023-12-05 00:13:04 +08:00
Evan You 0ba131a6de
feat(compiler-sfc): analyze import usage in template via AST (#9729)
close #8897
close nuxt/nuxt#22416
2023-12-05 00:13:04 +08:00
Evan You c0d396b785 release: v3.4.0-alpha.4 2023-12-04 23:24:43 +08:00