We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9546866 commit d3ba510Copy full SHA for d3ba510
README.md
@@ -61,6 +61,17 @@ export default function App() {
61
`index.js` is the main entry point for cherry-cola. It will look for an exported function `main()` and will
62
use the returned value to render HTML. `App.js` is an example component.
63
64
+Then, add the cherry-cola jsx runtime to your `tsconfig.json`:
65
+
66
+```json
67
+{
68
+ "compilerOptions": {
69
+ "jsx": "react-jsx",
70
+ "jsxImportSource": "cherry-cola"
71
+ }
72
+}
73
+```
74
75
Run `cherry-cola dev src/index.js` to start the dev server. Then, visit `localhost:3000`.
76
77
Alternatively, you can use the [`cherryCola()`](#cherrycolaentry-string) function in your own server to render the app.
0 commit comments