-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat request: export injectKeyProps #306
Comments
#309 |
Is there a difference? It looks like you just moved the code in preview to another place |
My original intention is to use before: after: <script setup>
import { Sandbox } from '@vue/repl'
const store = useStore(
{
vueVersion: ref('3.5.13'),
},
location.hash,
)
</script>
<template>
<Sandbox :store="store" />
</template> |
So, if the |
This PR does not change the |
already exported
Preview
component: https://github.com/vuejs/repl/blob/main/src/index.ts#L2but not export
injectKeyProps
symbol:repl/src/types.ts
Line 18 in 47da477
As a result, the separate
Preview
component cannot be used at all: https://github.com/vuejs/repl/blob/main/src/output/Preview.vue#L20The text was updated successfully, but these errors were encountered: