nuxt-pages-plus
Nuxt Pages Plus
A Nuxt module that enables complex routing for Nuxt Pages.
Features
- 🛤️ Parallel Routes - Render multiple pages in a single route, synchronously or manually.
- 🖼️ Modal Routes - Navigate modals routes with real-time URL changes for seamless browsing.
- 📁 File-base Routing - Create named routes right inside pages directory of your Nuxt project.
- 🔋 SSR Friendly - Optimized for Nuxt server-side rendering and static site generation.
- ⚙️ Comprehensive Toolkit - Extensive components and composables for flexible usage and easy integration.
- 🛠 Flexible - Tailor settings globally or for specific pages; fully customizable.
Quickstart
Install the module to your Nuxt application with nuxi command:
npx nuxi module add nuxt-pages-plus
npm i -D nuxt-pages-plus
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['nuxt-pages-plus']
})
Documentation
Please refer to the Nuxt Pages Plus documentation for detailed usage and examples.
Contribution
# Install dependencies
pnpm install
# Generate type stubs
pnpm dev:prepare
# Develop with the examples
pnpm dev examples/...
# Develop with the playground
pnpm play
# Build the playground
pnpm play:build
# Run ESLint
pnpm lint
# Run Vitest
pnpm test
pnpm test:watch
# Release new version
pnpm release
Inspiration
This module is inspired by Next.js App Router. Many thanks to Anthony Fu for providing the opinion of implementing Parallel Routes feature using Nuxt.
Version History
| Version | Released | License |
|---|---|---|
| 1.3.0 | MIT | |
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.1 | MIT | |
| 1.1.0 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT | |
| 0.6.0 | MIT | |
| 0.5.1 | MIT | |
| 0.5.0 | MIT | |
| 0.4.0 | MIT | |
| 0.3.2 | MIT | |
| 0.3.1 | MIT |
Pre-releases (13)
| Version | Released | License |
|---|---|---|
| 1.0.0-beta.4 | MIT | |
| 1.0.0-beta.3 | MIT | |
| 1.0.0-beta.2 | MIT | |
| 1.0.0-beta.1 | MIT | |
| 0.9.0-beta.1 | MIT | |
| 0.8.0-beta.1 | MIT | |
| 0.7.0-beta.1 | MIT | |
| 0.3.0-beta.1 | MIT | |
| 0.3.0-beta.0 | MIT | |
| 0.2.0-beta.1 | MIT | |
| 0.2.0-beta.0 | MIT | |
| 0.1.0-beta.1 | MIT | |
| 0.0.1-beta.1 | MIT |