Skip to content

Commit 81f6f97

Browse files
committed
docs: configure your tsconfig
1 parent 78cdc05 commit 81f6f97

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/guide/quick-start.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,16 @@ pnpm add jwcjs
145145
```
146146
:::
147147

148-
These commands will install jwcjs. You can use Vite, Rollup, Webpack, or any other build tool to build your project.
148+
Then, configure your tsconfig.json file to use the JSX factory and fragment factory:
149+
150+
```json
151+
{
152+
"compilerOptions": {
153+
"jsx": "react",
154+
"jsxFactory": "h",
155+
"jsxFragmentFactory": "Fragment"
156+
}
157+
}
158+
```
159+
160+
These commands will install jwcjs. You can use Vite, Rollup, Webpack, or any other build tool to build your project.

0 commit comments

Comments
 (0)