Morphos & Kosmesis are here.Explore
PraxisJS

Tooling

Developer tools for PraxisJS — Vite plugin, in-app DevTools overlay, Storybook adapter, MCP server, and the project scaffolder and maintenance CLIs.

Tooling


Required setup for every project

Every PraxisJS project needs these two files configured correctly:

Install and configure the Vite plugin

npm install -D @praxisjs/vite-plugin
pnpm add -D @praxisjs/vite-plugin
yarn add -D @praxisjs/vite-plugin
bun add -d @praxisjs/vite-plugin
// vite.config.ts
import { defineConfig } from 'vite'
import { praxisjs } from '@praxisjs/vite-plugin'

export default defineConfig({
  plugins: [praxisjs({ hmr: true })],
})

Configure TypeScript

// tsconfig.json
{
  "compilerOptions": {
    "target": "ES2022",
    "module": "ESNext",
    "moduleResolution": "bundler",
    "jsx": "react-jsx",
    "jsxImportSource": "@praxisjs/jsx",
    "useDefineForClassFields": true,
    "strict": true,
    "noEmit": true
  }
}

Mount your app

// src/main.ts
import { render } from '@praxisjs/runtime'
import { App } from './App'

render(() => <App />, document.getElementById('app')!)

Start from scratch

Skip the manual setup entirely:

npm create praxisjs@latest

Choose from Minimal, With Router, Full, or Blog templates — all pre-configured with TypeScript, Vite, JSX, and HMR.

Already have a project? See the praxisjs CLI for doctor (diagnostics) and upgrade (dependency updates).

On this page