Skip to content
Proyek

serkodev/nuxt-pages-plus

Lihat di GitHub

Tentang

A Nuxt module that enables complex routing for Nuxt Pages.

Alat pengembangan

Cara angka ini diukur

Yang dapat Anda lakukan

  • ๐Ÿ›ค๏ธ 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.

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
-1
dalam 15 hari
-1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Nuxt banner

Nuxt Pages Plus

npm version npm downloads License Nuxt

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
Install manually
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

Local development
# 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.

Jelajahi proyek terkait

Memuatโ€ฆ