Skip to content

Commit

Permalink
Update getting-started.server.mdx
Browse files Browse the repository at this point in the history
solidjs jsxImportSource should be 'solid-js/h'

Signed-off-by: Huijie Wei <huijiewei@outlook.com>
  • Loading branch information
huijiewei committed Mar 26, 2023
1 parent e77be3a commit cb67e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/getting-started.server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ for more info.
```js path="example.js"
import {compile} from '@mdx-js/mdx'

const js = String(await compile('# hi', {jsxImportSource: 'solid-js', /* otherOptions… */}))
const js = String(await compile('# hi', {jsxImportSource: 'solid-js/h', /* otherOptions… */}))
```
</details>

Expand Down

0 comments on commit cb67e2e

Please sign in to comment.