vue-command icon indicating copy to clipboard operation
vue-command copied to clipboard

I try to use vue-command in my vue3+vite project but failed

Open flufy3d opened this issue 4 years ago • 1 comments

I got some error info

TypeError: external_commonjs_vue_commonjs2_vue_root_Vue_default.a is not a constructor at Module.fb15 (VueCommand.vue:90) at webpack_require (bootstrap:19) at module.exports.106f (bootstrap:83) at node_modules/vue-command/dist/vue-command.common.js (bootstrap:83) at __require2 (chunk-RTNKGMRE.js?v=3c62c134:17) at dep:vue-command:1

is it possible to use this component in vue3?

flufy3d avatar Jun 16 '21 09:06 flufy3d

Hi, I made a fork of this project and upgraded it to Vue 3, But it's still rather buggy, but it works. You can check if out here

c0dn avatar Nov 15 '21 07:11 c0dn

Recommend my project to you, it works fine in Vue3.

Github: https://github.com/tzfun/vue-web-terminal Demo: https://tzfun.github.io/vue-web-terminal/

tzfun avatar Oct 24 '22 11:10 tzfun

@flufy3d I'm working right now on a Vue.js 3 upgrade. It will be finished before this years ends. You can keep an eye on the branch: https://github.com/ndabAP/vue-command/tree/next

@c0dn impressive work!

Edit: Updated link.

ndabAP avatar Dec 13 '22 10:12 ndabAP

A new version has been release. Please try it again @flufy3d.

ndabAP avatar Dec 17 '22 14:12 ndabAP