@vixt/core
Vixt
Introduction
Vixt is a Vite plugin designed to improve developer experience (DX), inspired by Nuxt. The name combines the first two letters of Vite and the last two letters of Nuxt.
Vixt aims to bring Nuxt-style productivity features to popular modern frameworks such as Vue, React, and Uni-app. It includes filesystem routing, layouts, auto-imports, plugins, modules, layers, server-side features, and more. Built on Vite 8 for faster development and build speed, Nitro provides the ability to build full-stack applications.
Installation
Try Vitesse built with Vixt
Create a Vixt project
Vixt recommends using pnpm with a monorepo setup, and the default project template is monorepo-based.
# Default monorepo template, including vue, uni-app and react projects
pnpm create vixt my-project
Use in an existing project
- Remove duplicate dependencies in
package.jsonthat Vixt already provides (such asvue,vite, etc., not required). - Create a
.npmrcfile and enable pnpm'sshamefully-hoist:
shamefully-hoist=true
- Install Vixt:
pnpm add vixt @vixt/vue
- Create
vixt.config.ts:
import { defineVixtConfig } from 'vixt'
export default defineVixtConfig({})
- Update
vite.config.ts:
import { defineConfig } from 'vite'
import vixt from 'vixt/vue'
export default defineConfig({
plugins: [vixt()],
})
- Update
tsconfig.json:
{
"extends": "./.vixt/tsconfig.json"
}
Packages
| Package | Description |
|---|---|
| vixt | Central package for all Vixt packages |
| @vixt/core | Core foundation of Vixt |
| @vixt/vue | Vue adapter layer |
| @vixt/uni | Uni-app adapter layer |
| @vixt/vitepress | VitePress adapter layer |
| @vixt/react | React adapter layer |
| create-vixt | Project scaffolding tool |
Thanks
This project is highly inspired by Nuxt and Vite.
Thanks to UnJS for creating helpful packages.
License
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 0.13.6 | MIT | |
| 0.13.5 | MIT | |
| 0.13.4 | MIT | |
| 0.13.3 | MIT | |
| 0.13.2 | MIT | |
| 0.13.1 | MIT | |
| 0.13.0 | MIT | |
| 0.12.2 | MIT | |
| 0.12.1 | MIT | |
| 0.12.0 | MIT | |
| 0.11.2 | MIT | |
| 0.11.1 | MIT | |
| 0.11.0 | MIT | |
| 0.10.1 | MIT | |
| 0.9.0 | MIT | |
| 0.8.1 | MIT | |
| 0.8.0 | MIT | |
| 0.7.4 | MIT | |
| 0.7.3 | MIT | |
| 0.7.2 | MIT | |
| 0.7.1 | MIT | |
| 0.7.0 | MIT | |
| 0.6.8 | MIT | |
| 0.6.7 | MIT | |
| 0.6.6 | MIT | |
| 0.6.5 | MIT | |
| 0.6.4 | MIT | |
| 0.6.3 | MIT | |
| 0.6.2 | MIT | |
| 0.6.1 | MIT |
Showing the latest 30 of 118. See every release on npm