← All projects

pinecone-router

by @rehhouari

Active 327

The feature-packed router for Alpine.js

About this project

Pinecone Router A small, easy to use, and feature-packed router for Alpine.js. Features: Pinecone Router has been updated with bug fixes and new features since 2021! :smile: Easy and familiar syntax well integrated with Alpine.js. :gear: Handlers allowing you to run functions on each route. :beginner: Inline and external templates to display content. :sparkles: 3 Magic helpers to easily access router data. Full Typescript support. :link: Automatic link handling and loading events. :hash: Hash routing support. Demo: Pinecone example, (source code). Installation This projects follow the Semantic Versioning guidelines. [!IMPORTANT] Check the CHANGELOG before major updates. [!NOTE] If you're upgrading from v6, also see the more compact Upgrade Guide. CDN Include the following tag in the of your document, before Alpine.js: NPM Browser Module Usage Demo & Usage Example x-route Declare routes by creating a template tag with the x-route directive. [!NOTE] Alternatively you can use Javascript to add routes [!NOTE] Read more: notfound route, Named routes Route matching Segments types Literal (/literal): Matches /literal but not /something-else

From the project README on GitHub

Stars
327
Forks
11
License
MIT
Last push
26 Jun 2026

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/pinecone-router.svg)](https://www.madeinalgeria.dev/projects/pinecone-router)

Related projects