Skip to content

Routing

File-based routing is supported by vite-plugin-pages.

The pages folder is scanned by default.

Custom configuration

ts
import { defineVixtConfig } from 'vixt'

export default defineVixtConfig({
  pages: {
    pages: ['src/views']
  }
})