Zero Dependencies
Pure native JavaScript/TypeScript implementation with no third-party runtime dependencies. From reactivity to renderer, everything is built from scratch.
Zero dependencies, pure native implementation, multi-platform rendering support
Lyt.js is a zero-dependency, ultra lightweight frontend framework that provides a Vue 3-compatible API with built-in router, state management, and a rich UI component library. It is designed for developers who value simplicity, performance, and minimal bundle size.
# Create a new project
npx @lytjs/cli create my-app
cd my-app
npm install
npm run devOr try it directly in the browser via CDN:
<script type="module">
import { createApp } from '@lytjs/core'
const app = createApp({
template: `
<div>
<h1>{{ title }}</h1>
<p>Count: {{ count }}</p>
<button @click="count++">+1</button>
</div>
`,
state: { title: 'Hello Lyt.js!', count: 0 }
})
app.mount('#app')
</script>createApp, h(), defineComponent, lifecycle hooks, plugin systemref, reactive, computed, watch, Signal APIcreateRouter, navigation guards, dynamic routescreateStore, state, getters, actions, modules