We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example
<template> <Monaco :value="value" /> </template> <script setup> import Monaco from '@vue/repl/monaco-editor' const value = `<template>xxx</template>` </script>
Or hide the preview
<template> <Repl :editor="Monaco" :show-preview="false" /> </template> <script setup> import { Repl } from '@vue/repl' import Monaco from '@vue/repl/monaco-editor' </script>
The text was updated successfully, but these errors were encountered:
Only the editor is displayed. Do you want to implement a custom layout? 🤔
Sorry, something went wrong.
I wanted to support Vue syntax in monaco editor, so I found this project
我想问下 能不能只用这个预览器 预览这个模板代码 模板代码是接口回来的
@2091124175 可以的,你可以直接使用 Sandbox
Sandbox
https://stackblitz.com/edit/vitejs-vite-socxduic?file=src%2FApp.vue
No branches or pull requests
For example
Or hide the preview
The text was updated successfully, but these errors were encountered: