Skip to content

File system based route generator for ⚡️Vite

License

Notifications You must be signed in to change notification settings

ElMassimo/vite-plugin-pages

 
 

Repository files navigation

@mussi/vite-plugin-pages

npm version

File system based routing for Vue 3 applications using îles

This is a temporary fork of vite-plugin-pages that adds a Javascript API to the plugin, which is used by îles.

Getting Started

By default, files in the src/pages directory are automatically registered as pages in the router.

Configuration ⚙️

You can provide custom configuration by providing a pages option in your îles configuration file:

// iles.config.ts
export default {
  pages: {
    pagesDir: 'src/views'
  },
}

See the vite-plugin-pages documentation for more information.

About

File system based route generator for ⚡️Vite

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 91.5%
  • Vue 8.5%