Fix[docs] correct the broken links and errors in migration-guide (#3008)

Co-authored-by: 李嘉图·M·路 <146103794+Ricardo-M-Zheng@users.noreply.github.com>
This commit is contained in:
zhizheng
2025-06-03 13:30:12 +02:00
committed by GitHub
co-authored by 李嘉图·M·路
parent b4c3ff8e98
commit a631ae3876
+5 -5
View File
@@ -5,8 +5,9 @@ description: |
We tried to keep breaking changes in Fresh 2 as minimal as possible, but some We tried to keep breaking changes in Fresh 2 as minimal as possible, but some
changes need to be updated manually. Fresh 2 comes with many quality of life changes need to be updated manually. Fresh 2 comes with many quality of life
[improvements](TODO) that make it easier to extend and adapt Fresh. We've [improvements](https://deno.com/blog/an-update-on-fresh) that make it easier to
created this upgrade guide as part of upgrading our own apps here at Deno. extend and adapt Fresh. We've created this upgrade guide as part of upgrading
our own apps here at Deno.
Use this guide to migrate a Fresh 1.x app to Fresh 2. Use this guide to migrate a Fresh 1.x app to Fresh 2.
@@ -19,9 +20,8 @@ update by running it in your project directory:
deno run -Ar jsr:@fresh/update deno run -Ar jsr:@fresh/update
``` ```
This will apply most API changes made in Fresh 2 This will apply most API changes made in Fresh 2 automatically update like
[automatically](#automatic-updates) like changing `$fresh/server.ts` imports to changing `$fresh/server.ts` imports to `fresh`.
`fresh`.
## Getting `main.ts` and `dev.ts` ready ## Getting `main.ts` and `dev.ts` ready