@solidrt/core
v0.0.3
Published
Downloads
1,613
Readme
SolidRT
A low-level toolkit for creating cross-platform applications.
SolidRT is in pre-alpha stage. Anything can and will be changed.
Getting started
Prerequisites: bun (only required for development; not needed to run built apps).
bun init
bun add @solidrt/core
bun add -d @solidrt/cliCreate an entry file src/index.tsx:
import { render } from "@solidrt/core"
function App() {
return (
<window>
<text>Hello, World!</text>
</window>
)
}
render(() => <App />)Run the app:
bunx srt run src/index.tsxOptionally, create a tsconfig.json to enable JSX support and type recognition for SolidRT elements:
{
"compilerOptions": {
"jsx": "preserve",
"jsxImportSource": "@solidrt/core",
"moduleResolution": "bundler",
"strict": true
}
}API
See docs/api.md for the full API reference.
License
MIT. Copyright (c) 2026 Antoine van Wel.
