File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ <h1><code>Vue</code> + <code>hast-util-to-jsx-runtime</code></h1>
88< div id =root > </ div >
99< script type =module >
1010/* eslint-env browser */
11- import { Fragment , jsx , jsxs } from 'https://esm.sh/vue-jsx-runtime@0.1/jsx-runtime '
12- import { createApp } from 'https://esm.sh/vue@3?dev'
11+ import { createApp } from 'https://esm.sh/vue@3.3.0-alpha.8?dev '
12+ import { Fragment , jsx , jsxs } from 'https://esm.sh/vue@3.3.0-alpha.8/jsx-runtime ?dev'
1313import { toJsxRuntime } from './hast-util-to-jsx-runtime.min.js'
1414import { createTree } from './create-tree.js'
1515
Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ render(
378378In Node.js, do:
379379
380380``` js
381- import {Fragment , jsx , jsxs } from ' vue-jsx-runtime /jsx-runtime'
381+ import {Fragment , jsx , jsxs } from ' vue/jsx-runtime' // Available since `vue@^3.3.0-alpha.6`.
382382import serverRenderer from ' @vue/server-renderer'
383383import {h } from ' hastscript'
384384import {toJsxRuntime } from ' hast-util-to-jsx-runtime'
You can’t perform that action at this time.
0 commit comments