Giter Site home page Giter Site logo

error about vue3-draggable-resizable HOT 8 CLOSED

a7650 avatar a7650 commented on September 2, 2024 2
error

from vue3-draggable-resizable.

Comments (8)

xiaolong-xl avatar xiaolong-xl commented on September 2, 2024

这个错误 作者快点解决下,看了源码 这个错误报的有点离谱

from vue3-draggable-resizable.

a7650 avatar a7650 commented on September 2, 2024

你怎么引用的代码贴出来看下

from vue3-draggable-resizable.

a7650 avatar a7650 commented on September 2, 2024

这个错误 作者快点解决下,看了源码 这个错误报的有点离谱

确实有点离谱,别人都没有,可能是环境问题

from vue3-draggable-resizable.

xiaolong-xl avatar xiaolong-xl commented on September 2, 2024

import Vue3DraggableResizablea from 'vue3-draggable-resizable'
import 'vue3-draggable-resizable/dist/Vue3DraggableResizable.css'

createApp(App)
.use(ElementPlus, {
locale: zhCn
})
.use(Vue3DraggableResizablea)
.use(components)
.use(store)
.use(utils)
.use(filters)
.use(router)
.mount('#app');

只要一引入 import Vue3DraggableResizablea from 'vue3-draggable-resizable' 就会报一下错误:

  • ./components/DraggableContainer in ./node_modules/vue3-draggable-resizable/src/index.js
  • ./components/Vue3DraggableResizable in ./node_modules/vue3-draggable-resizable/src/index.js

想添加你一个方便的联系方式 方便快速交流下

from vue3-draggable-resizable.

xiaolong-xl avatar xiaolong-xl commented on September 2, 2024

这个错误作者快点解决下,分析源码一个错误报告的有点离谱

确实离谱,别人都没有,可能是环境问题

环境 也就是用的vue3 脚手架搭建出来的 ,源码里执行了src/index 文件 但是 Index文件里面 require("./components/Vue3DraggableResizable");和 require("./components/DraggableContainer");的找不到
我想提问的一点:如果访问index.js里面 使用了"use strict"(严格模式);引入ts文件是可行?

from vue3-draggable-resizable.

libinLee avatar libinLee commented on September 2, 2024

同出现了这个问题,请问要怎么解决

from vue3-draggable-resizable.

X3587 avatar X3587 commented on September 2, 2024

大佬解决了吗

from vue3-draggable-resizable.

a7650 avatar a7650 commented on September 2, 2024

哪位有问题,搞个demo的工程,我试下。

from vue3-draggable-resizable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.