Build modern, server-driven Single-Page Applications without the complexity of a separate API. Fictif is the bridge between your powerful backend and a beautiful, reactive Vue 3 frontend.
GitHub · Full Documentation · NPM · Discord
Fictif is for developers who love the power and simplicity of their backend framework (like Laravel, AdonisJS, or Rails) but want to build a fast, modern, app-like user interface with Vue—without the headache of building and maintaining a REST or GraphQL API.
It combines the best of both worlds: the developer experience of a classic monolith with the seamless user experience of a SPA.
- ✅ Zero-API Architecture: Let your existing backend controllers and routes drive your UI. Fictif intelligently fetches data and components on demand.
- ✅ Out-of-the-Box Forms: A powerful
useForm
composable that handles data, validation errors, and even file uploads with minimal code. - ✅ Automatic Code-Splitting: The Fictif Vite plugin automatically discovers your page components (
*.screen.vue
) and splits them into tiny, lazy-loaded chunks. Your app stays fast by default. - ✅ A Complete Toolkit: Comes with first-class utilities for SEO (
useHead
), data fetching (useAPI
), and UI (loading indicators, multi-step components). - ✅ Backend Agnostic: Works seamlessly with any backend framework that can return JSON. If you can use Inertia.js, you can use Fictif.
- ✅ Zero Runtime Dependencies: Fictif has an incredibly small footprint and adds no external dependencies to your final production bundle.
To get latest changes ( this is a beta library with frequent updates )
pnpm i fictifhq/fictif#release
If you are looking for stable releases, install the fictif
package from the npm registry.
# Using npm
npm install fictif
# Using pnpm
pnpm add fictif
The fastest way to get a full Fictif application running is with an official starter kit. These repositories come pre-configured with everything you need.
➡️ Use the Official Fictif + Laravel Starter Kit
(More starter kits for NodeJS, Electron, etc., are coming soon!)
Words only go so far. See a real application built with Fictif to understand its power and simplicity.
Live Demo (Link to your hosted demo app)
Demo Source Code (Link to the demo's repo)
Ready to build your own application? Our full documentation has everything you need, from basic setup to advanced concepts.