Socket
Socket
Sign inDemoInstall

svelte-routing

Package Overview
Dependencies
0
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1234

0.4.1

Diff

tholle
published 0.4.0 •

Changelog

Source

0.4.0

Moved to Svelte v2 and added the new link and links actions.

tholle
published 0.3.0 •

Changelog

Source

0.3.0

Split the createHistory function into createBrowserHistory, createMemoryHistory, createHashHistory to allow for better tree shaking of unused history creation code.

tholle
published 0.2.0 •

Changelog

Source

0.2.0

Added the ability to access the match object in a matched route:

<!-- App.html -->
<Route path="/:myParam" bind:match>
    <h1>{{match && match.params.myParam}}</h1>
</Route>

or:

<!-- App.html -->
<Route path="/:myParam" component="{{MyComponent}}" />

<!-- MyComponent.html -->
<h1>{{match.params.myParam}}</h1>
tholle
published 0.1.0 •

Changelog

Source

0.1.0

Added the ability to give a component constructor to a route with the component property:

<!-- App.html -->
<Route path="/:myParam" component="{{MyComponent}}" />
tholle
published 0.0.1 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc