Installation
@vincle/core has zero runtime dependencies. Install it and configure
TypeScript. That's all.
Package manager#
npm install @vincle/corebun add @vincle/coreTypeScript configuration#
Set jsxImportSource in your tsconfig.json so JSX files need no import:
{ "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "@vincle/core" }}Attributes are typed per element (src on <img>, href on <a>), with
nothing extra to install: see JSX types.
Where to next#
- First render: your first component
- TypeScript setup: Deno, esbuild