Skip to content

Commit

Permalink
add v1 docs link
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjennings committed Nov 11, 2024
1 parent db8c273 commit 339854f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/content/docs/migrations/v2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ description: Migration guide from v1 to v2
layout: $lib/layouts/LegacyLayout.astro
---

v2 introduces Svelte 5 support and an API overhaul to better solve the community requests from v1.
v2 introduces Svelte 5 support and an API overhaul to better solve the community requests from v1. The
v1 docs will remain available [here](https://v1.svelte-modals.mattjennin.gs/)

## svelte-modals/legacy

Expand All @@ -14,7 +15,7 @@ of renaming imports and methods, I've provided a legacy wrapper to make the tran
This will allow you continue using v1 APIs as a wrapper around v2 and
incrementally migrate your codebase.

If you encounter any problems [please open an issue](https://github.com/mattjennings/svelte-modals/issues)
If you encounter any problems [please open an issue](https://github.com/mattjennings/svelte-modals/issues).

```svelte live
<script>
Expand Down Expand Up @@ -53,8 +54,6 @@ still use open/close methods from `svelte-modals/legacy`.
```
*/}

{/* TODO: link v1 docs */}
{/* TODO: do slots work with snippets? */}

## Breaking changes

Expand Down
1 change: 1 addition & 0 deletions src/env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/// <reference path="../.astro/types.d.ts" />

0 comments on commit 339854f

Please sign in to comment.