From: Eduardo San Martin Morote Date: Wed, 17 May 2023 08:18:04 +0000 (+0200) Subject: chore: remove old composables X-Git-Tag: @pinia/nuxt@0.4.11~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94527a8dca494eb88b0829340b556ef27cd290d5;p=thirdparty%2Fvuejs%2Fpinia.git chore: remove old composables --- diff --git a/packages/playground/src/composables/router.ts b/packages/playground/src/composables/router.ts deleted file mode 100644 index a6a74d7f..00000000 --- a/packages/playground/src/composables/router.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { getActivePinia } from 'pinia' - -export function useRouter() { - return getActivePinia()?._a.config.globalProperties.$router! -} - -export function useRoute() { - return getActivePinia()?._a.config.globalProperties.$route! -}