vue3-core/README.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

110 lines
3.1 KiB
Markdown
Raw Normal View History

2023-11-09 17:42:37 +08:00
# Vue Vapor
2019-08-25 10:37:05 +08:00
2023-11-09 17:42:37 +08:00
This repository is a fork of [vuejs/core](https://github.com/vuejs/core) and is used for research and development of no virtual dom mode.
2022-02-06 17:02:10 +08:00
2023-11-24 11:15:39 +08:00
## TODO
2023-12-06 19:08:46 +08:00
PR are welcome!
2023-11-24 11:15:39 +08:00
2023-11-30 05:40:28 +08:00
- [Issues with `todo` tag](https://github.com/vuejs/core-vapor/labels/todo)
2023-12-06 19:08:46 +08:00
- To-do list below (**create an issue** for discussion before a big feat/bug PR is required)
2023-11-30 05:40:28 +08:00
- `// TODO` comments in code (`compiler-vapor` and `runtime-vapor` packages)
2023-11-24 11:39:49 +08:00
2023-11-30 05:40:28 +08:00
---
- [x] Counter App
2023-11-24 11:15:39 +08:00
- [x] simple bindings
- [x] simple events
2023-11-30 05:40:28 +08:00
- [ ] TODO-MVC App
2023-12-08 21:14:46 +08:00
- [ ] Repl
2023-12-03 01:40:26 +08:00
- [x] transform
2023-12-01 07:34:18 +08:00
- [x] NodeTransform
2023-12-03 01:40:26 +08:00
- [x] DirectiveTransform
2023-11-24 11:15:39 +08:00
- [ ] directives
2023-11-24 15:25:34 +08:00
- [x] `v-once`
2023-11-24 14:44:57 +08:00
- [x] `v-html`
2023-11-24 14:48:51 +08:00
- [x] `v-text`
2023-11-24 15:37:49 +08:00
- [x] `v-pre`
2023-11-24 15:40:38 +08:00
- [x] `v-cloak`
2023-12-06 00:15:57 +08:00
- [x] `v-bind`
- [x] simple expression
- [x] compound expression
2023-12-06 19:08:46 +08:00
- [ ] modifiers
- [ ] .camel
- [ ] .prop
- [ ] .attr
2023-11-30 05:40:28 +08:00
- [ ] `v-on`
2023-11-24 15:34:40 +08:00
- [x] simple expression
- [ ] compound expression
- [x] modifiers
2023-11-30 05:40:28 +08:00
- [ ] runtime directives
- #19
- [ ] `v-memo`
- #18
- [ ] `v-model`
- #17
- needs #19 first
- [ ] `v-if` / `v-else` / `v-else-if`
- #9
2023-11-24 15:34:40 +08:00
- [ ] `v-for`
2023-11-30 05:40:28 +08:00
- #21
2023-11-24 15:34:40 +08:00
- [ ] `v-show`
2023-11-30 05:40:28 +08:00
- #16
- needs #19 first
- [x] Fragment
2023-12-03 03:52:16 +08:00
- [ ] Codegen
- [x] CodegenContext
- [x] indent
- [x] Source map
- [ ] Function mode
- [ ] SSR
2023-11-24 11:39:49 +08:00
- [ ] Built-in Components
- [ ] Transition
- [ ] TransitionGroup
- [ ] KeepAlive
- [ ] Teleport
- [ ] Suspense
2023-11-28 13:07:57 +08:00
- [ ] [Component](https://github.com/vuejs/core-vapor/issues/4)
2023-11-24 11:15:39 +08:00
- [ ] Performance & Optimization
- [ ] remove unnecessary close tag `</div>`
## Codes Copied From `runtime-core`
The code provided here is a duplicate from `runtime-core` as Vapor cannot import it directly. For the time being, we copy any necessary logic from runtime-core into runtime-vapor and document it accordingly. Once the experimental development phase concludes, we will consolidate these elements into a separate software package.
- packages/runtime-vapor/src/apiWatch.ts
- packages/runtime-vapor/src/component.ts
- packages/runtime-vapor/src/componentProps.ts
- packages/runtime-vapor/src/enums.ts
- packages/runtime-vapor/src/errorHandling.ts
- packages/runtime-vapor/src/scheduler.ts
- packages/runtime-vapor/src/warning.ts
If there are more, please feel free to add.
2022-02-06 17:02:10 +08:00
## Sponsors
Vue.js is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome [backers](https://github.com/vuejs/core/blob/main/BACKERS.md). If you'd like to join them, please consider [ sponsoring Vue's development](https://vuejs.org/sponsor/).
2022-02-06 17:02:10 +08:00
2022-09-01 14:29:12 +08:00
<p align="center">
<h3 align="center">Special Sponsor</h3>
</p>
<p align="center">
<a target="_blank" href="https://github.com/appwrite/appwrite">
<img alt="special sponsor appwrite" src="https://sponsors.vuejs.org/images/appwrite.svg" width="300">
</a>
</p>
2022-02-06 17:02:10 +08:00
<p align="center">
<a target="_blank" href="https://vuejs.org/sponsor/#current-sponsors">
<img alt="sponsors" src="https://sponsors.vuejs.org/sponsors.svg?v3">
</a>
2022-02-06 17:02:10 +08:00
</p>
2022-02-07 13:20:01 +08:00
## License
[MIT](https://opensource.org/licenses/MIT)
Copyright (c) 2013-present, Yuxi (Evan) You