Skip to content

Commit 8f463b3

Browse files
committed
chore: readme
1 parent c3028ad commit 8f463b3

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44

55
The current codebase has basic feature parity with v2.x, together with the changes proposed in [merged RFCs](https://github.com/vuejs/rfcs/pulls?q=is%3Apr+is%3Amerged+label%3A3.x). There is a simple webpack-based setup with Single-File Component support available [here](https://github.com/vuejs/vue-next-webpack-preview).
66

7-
At this stage, the only major work left is server-side rendering, which we are actively working on. In the meanwhile, we would like our users to start building small experimental apps using the alpha releases to help us identify bugs and stabilize the implementation.
8-
97
Please note that there could still be undocumented behavior inconsistencies with 2.x. When you run into such a case, please make sure to first check if the behavior difference has already been proposed in an existing RFC. If the inconsistency is not part of an RFC, then it's likely unintended, and an issue should be opened (please make sure to use the [issue helper](https://new-issue.vuejs.org/?repo=vuejs/vue-next) when opening new issues).
108

9+
## TODOs as of 3.0.0-alpha.5
10+
11+
- Suspense support in SSR
12+
- SSR Hydration mismatch handling
13+
- SSR vnode directive support
14+
- SSR integration tests
15+
- 2.x compatible async component support
16+
1117
## Known Issues
1218

1319
- There is currently no way to attach custom instance properties via `Vue.prototype`.

packages/server-renderer/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
11
# @vue/server-renderer
2+
3+
``` js
4+
const { createSSRApp } = require('vue')
5+
const { renderToString } = require('@vue/server-renderer')
6+
7+
const app = createSSRApp({
8+
data: () => ({ msg: 'hello' }),
9+
template: `<div>{{ msg }}</div>`
10+
})
11+
12+
;(async () => {
13+
const html = await renderToString(app)
14+
console.log(html)
15+
})()
16+
```

0 commit comments

Comments
 (0)