vue-code-view icon indicating copy to clipboard operation
vue-code-view copied to clipboard

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

Open codelzb opened this issue 2 years ago • 1 comments
trafficstars

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

codelzb avatar Aug 12 '23 17:08 codelzb

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

// src\store.ts

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

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

andurils avatar Aug 14 '23 00:08 andurils