Skip to content

为什么0.6.1变成了vue3? 这不是vue2的code-view吗 #41

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

Open
codelzb opened this issue Aug 12, 2023 · 1 comment
Open

为什么0.6.1变成了vue3? 这不是vue2的code-view吗 #41

codelzb opened this issue Aug 12, 2023 · 1 comment

Comments

@codelzb
Copy link

codelzb commented Aug 12, 2023

image
为什么界面也跟https://andurils.github.io/vue-code-view/#/home官网的界面不一致呢 @andurils

@andurils
Copy link
Owner

0.6.X 我是参照 vue/repl 翻写的,运行时编译使用的vue3

// src\store.ts

constructor({
    serializedState = "",
    defaultVueRuntimeURL = `https://unpkg.com/@vue/runtime-dom@3.2.47/dist/runtime-dom.esm-browser.js`,
    defaultVueServerRendererURL = `https://unpkg.com/@vue/server-renderer@3.2.47/dist/server-renderer.esm-browser.js`,
    showOutput = false,
    outputMode = "preview",
  }: StoreOptions = {}) {

PS:现在去写后端了,前端暂时没有精力折腾了,所以网站这块就没变

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants