editor/packages/jsx/README.md
konstantin-paulus c023aa9950 Update package.json and README.md for improved build and documentation
Added `publishConfig` for public access in package.json and enhanced build scripts with prepublish and packing hooks. Removed outdated example code and streamlined the README.md to focus on essential package functionality and tooling, improving clarity for users.
2026-08-09 14:40:29 +02:00

24 lines
441 B
Markdown

# @diffusionstudio/jsx
The editor supplies the runtime when a project is mounted, so this package is
needed for **types and tooling** — IntelliSense, `tsc --noEmit`, and testing
components outside the editor.
```sh
npm install --save-dev @diffusionstudio/jsx solid-js
```
```jsonc
// tsconfig.json
{
"compilerOptions": {
"jsx": "preserve",
"jsxImportSource": "@diffusionstudio/jsx"
}
}
```
## License
[MPL-2.0](./LICENSE)