Commit Graph

75 Commits

Author SHA1 Message Date
Kevin Deng 三咲智子 463b47e83d
feat: create component & component lifecycle/props/attrs (#151) 2024-03-16 18:54:36 +08:00
三咲智子 Kevin Deng 808d17dbd1
refactor(runtime-vapor): split create component & render 2024-03-14 16:32:22 +08:00
三咲智子 Kevin Deng 4af8e87953
feat: support more source types for v-for
closes #139

Co-authored-by: wangjie36 <826036140@qq.com>
2024-03-01 06:37:53 +08:00
三咲智子 Kevin Deng 83641f709b
chore(playground): add vapor flag 2024-02-27 23:29:18 +08:00
三咲智子 Kevin Deng cb53a1e0cf
fix(playground): upgrade vite plugin 2024-02-26 23:09:29 +08:00
三咲智子 Kevin Deng 2075042956
refactor: remove append helper
replace `append` with `insertBefore`
2024-02-26 21:38:04 +08:00
三咲智子 Kevin Deng fb3e8ee8c0
refactor: merge delegate & modifier options of event 2024-02-25 15:11:25 +08:00
三咲智子 Kevin Deng 26f29b2529
refactor(runtime-vapor): move metadata from instance to node 2024-02-23 01:21:00 +08:00
三咲智子 Kevin Deng 0ecb0ea1b0
chore: fix type error 2024-02-20 21:41:09 +08:00
ygj6 b11ecbda69
feat(runtime-vapor): reset old props when setting dynamic props (#131)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-20 21:13:48 +08:00
三咲智子 Kevin Deng 6c25fb612a
fix(playground/bench): output 2024-02-15 07:47:21 +08:00
三咲智子 Kevin Deng 3430b0c977
fix(playground): inline dep name 2024-02-15 07:45:39 +08:00
三咲智子 Kevin Deng 670109e287
feat(playground): add benchmark 2024-02-15 06:34:03 +08:00
dependabot[bot] 95b08e8fc6
chore(deps-dev): bump vite from 5.0.2 to 5.0.12 (#129)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-14 15:26:42 +08:00
三咲智子 Kevin Deng 8bb0e0887b
refactor(playground): add vapor option [ci skip] 2024-02-14 14:42:59 +08:00
三咲智子 Kevin Deng 79f3929cd2
chore(playground): dark mode [ci skip] 2024-02-13 03:19:15 +08:00
三咲智子 Kevin Deng 4fc344fde6
chore(playground): remove todo [ci skip] 2024-02-10 15:56:57 +08:00
三咲智子 Kevin Deng aaf3d00f45
chore(playground): enable template.vapor option 2024-02-09 20:16:45 +08:00
三咲智子 Kevin Deng 5533350c75
chore(playground): use terser for minify 2024-02-09 00:09:21 +08:00
ygj6 d573a3d2f2
feat: support v-bind="{}" (#106)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-05 02:44:30 +08:00
三咲智子 Kevin Deng 8dec243dc1
fix(reactivity): keep previous effect scope 2024-02-03 06:15:51 +08:00
三咲智子 Kevin Deng 681dc5d954
feat(compiler-vapor): v-for (#101) 2024-01-31 17:00:19 +08:00
三咲智子 Kevin Deng 17af64c0c1
feat(runtime-vapor): createFor 2024-01-28 20:16:35 +08:00
三咲智子 Kevin Deng 61bec8a71d
refactor(playground): replace v-show with v-if 2024-01-28 01:54:26 +08:00
三咲智子 Kevin Deng 0255505b5d
feat(playground): todo mvc 2024-01-25 17:00:19 +08:00
三咲智子 Kevin Deng 32604cf91c
refactor(runtime-vapor): template refs 2024-01-21 13:59:56 +08:00
三咲智子 Kevin Deng 31e8fa35c0
feat: v-model for input & textarea 2024-01-21 02:16:53 +08:00
三咲智子 Kevin Deng 782d60475d
feat: basic template ref 2024-01-20 23:48:10 +08:00
三咲智子 Kevin Deng 35334fd33e
fix(runtime-vapor): patch prop 2024-01-20 13:38:20 +08:00
三咲智子 Kevin Deng 10f8cb4351
fix(compiler-vapor): don't setText for root element 2024-01-19 22:50:12 +08:00
Rizumu Ayaka 2cce436aaf
feat(runtime-vapor): lifecycle beforeUpdate and updated hooks (#89) 2024-01-13 03:25:57 +08:00
三咲智子 Kevin Deng bb8cc447eb
chore: upgrade vite-node 2024-01-11 14:26:53 +08:00
Rizumu Ayaka 26fee414ff
feat: compound expression for `v-on` (#60) 2024-01-08 14:07:49 +08:00
Rizumu Ayaka d06aac7aa2
style: fix format in vapor 2023-12-29 22:11:33 +08:00
Rizumu Ayaka dce55475a5
style: fix lint errors in vapor 2023-12-29 22:05:33 +08:00
Rizumu Ayaka 5b3027f0a9
feat(runtime-vapor): `watchEffect`/`watch` and `onEffectCleanup` (#69) 2023-12-23 15:17:18 +08:00
GaoNeng 9d3abcf24b
feat(runtime-vapor): mounted & unmounted hook (#46)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-15 01:47:56 +08:00
白雾三语 6eaf4b651b
fix(runtime-vapor): `unmountComponent` (#63)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-15 01:23:17 +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
Kaine 48e8f2c196
refactor: improve file path resolution (#55) 2023-12-12 15:33:31 +08:00
ubugeeei 12250a85b9
feat(runtime-vapor): component props (#40) 2023-12-10 01:33:18 +08:00
三咲智子 Kevin Deng 5f90f8bef0
feat: v-show 2023-12-08 17:37:21 +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 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 f644ed4081
feat: compound expression for v-bind 2023-12-06 00:17:16 +08:00
三咲智子 Kevin Deng f3e80d7706
feat: support more directive hook 2023-12-04 16:08:15 +08:00
三咲智子 Kevin Deng db151e1b43
feat: custom directlve
closes #19
2023-12-03 18:36:54 +08:00
三咲智子 Kevin Deng 0d9f0867d7
refactor(compiler-vapor): errors 2023-12-01 08:05:43 +08:00
三咲智子 Kevin Deng cfd6d40d72
feat(compiler-vapor): node transform 2023-12-01 07:42:43 +08:00