-
Notifications
You must be signed in to change notification settings - Fork 32
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
Vue SFC Playground 用不了啊 #22
Comments
没有理解到你的意思?
|
我看了一下 @vue/repl 的源码 export function utoa(data: string): string { export function atou(base64: string): string { // zlib header (x78), level 9 (xDA) // old unicode hacks for backward compatibility const welcomeCode = ` <script setup> import { ref } from 'vue' const msg = ref('Hello World!') </script>{{ msg }}`.trim()export class File { constructor(filename: string, code = '', hidden = false) { const getFiles = (files) => { const files = { const urlHash = '#' + utoa(JSON.stringify(getFiles(files))) 这样生成的 就可以正常解析 |
@dewfall123 你有时间更还到你 vitepress-demo-block 这个库里面?建议再开放一个 除了 |
Vue SFC Playground 没有配置 importMap的地方啊
The text was updated successfully, but these errors were encountered: