diff --git a/examples/framework-svelte/package.json b/examples/framework-svelte/package.json index 9ce3f199b3..dd04f90415 100644 --- a/examples/framework-svelte/package.json +++ b/examples/framework-svelte/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@astrojs/svelte": "^0.0.2", - "astro": "^1.0.0-beta.4" + "astro": "workspace:*" }, "dependencies": { "svelte": "^3.46.6" diff --git a/examples/framework-svelte/src/components/Counter.svelte b/examples/framework-svelte/src/components/Counter.svelte index 6590f1f93a..addee9524b 100644 --- a/examples/framework-svelte/src/components/Counter.svelte +++ b/examples/framework-svelte/src/components/Counter.svelte @@ -11,6 +11,7 @@
+

{window.location.href}

{count}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 19faf2e2b2..943ee9f52d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -205,7 +205,7 @@ importers: examples/framework-svelte: specifiers: '@astrojs/svelte': ^0.0.2 - astro: ^1.0.0-beta.4 + astro: workspace:* svelte: ^3.46.6 dependencies: svelte: 3.46.6