Skip to content

Commit

Permalink
docs: configure your tsconfig
Browse files Browse the repository at this point in the history
wibus-wee committed Dec 22, 2022
1 parent 78cdc05 commit 81f6f97
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/guide/quick-start.md
Original file line number Diff line number Diff line change
@@ -145,4 +145,16 @@ pnpm add jwcjs
```
:::

These commands will install jwcjs. You can use Vite, Rollup, Webpack, or any other build tool to build your project.
Then, configure your tsconfig.json file to use the JSX factory and fragment factory:

```json
{
"compilerOptions": {
"jsx": "react",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment"
}
}
```

These commands will install jwcjs. You can use Vite, Rollup, Webpack, or any other build tool to build your project.

0 comments on commit 81f6f97

Please sign in to comment.