Releases: vaadin/router
Releases · vaadin/router
v0.2.1 — Fix minified UMD bundle
v0.2.0 — Change ES Module File Extension
Breaking Change
- Dropped the experimental
.mjs
extension for ES module bundle, as some tools consider it as node-specific and others do not yet support it properly. Thedist/vaadin-router.js
is now picked up by Webpack and should work nice with the other bundlers, as well as Polymer CLI.
Changes Since v0.1.2:
v0.1.2 — Initial Working Version
Live Demo ↗
API documentation ↗
Features
- maps URL paths to Web Components
- handles
<a>
click events by default - handles
popstate
events by default - route parameters using express-like syntax
- unconditional and dynamic redirects
- lazy loading route bundles
- custom route actions
- lifecycle callbacks
- prevent navigation
- configurable navigation triggers