Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wjfe/n-savant",
"version": "0.1.0",
"version": "0.1.1",
"scripts": {
"dev": "vite dev",
"build": "vite build && npm run prepack",
Expand Down
13 changes: 6 additions & 7 deletions src/lib/Link/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ SPA-friendly navigation (navigation without reloading).
These don't require a parent router:

```svelte
<!-- Path Routing => https://example.com/new/path -->
<Link hash="false" href="/new/path">Click Me!</Link>
<Link hash="false" href="/new/path">Path Routing => https://example.com/new/path</Link>

<!-- Hash Routing => https://example.com/#/new/path -->
<Link hash="true" href="/new/path">Click Me!</Link>
<Link hash="true" href="/new/path">Hash Routing => https://example.com/#/new/path</Link>

<!-- Multi Hash Routing => https://example.com/#path1=/new/path -->
<!-- Will also preserve any other named paths -->
<Link hash="path1" href="/new/path">Click Me!</Link>
<Link hash="path1" href="/new/path">
Multi Hash Routing => https://example.com/#path1=/new/path
Will also preserve any other named paths
</Link>
```

### Usage Within a Parent Router
Expand Down