Skip to content
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

vue3.0 中报错啊 #47

Closed
i-curve opened this issue Oct 22, 2020 · 8 comments
Closed

vue3.0 中报错啊 #47

i-curve opened this issue Oct 22, 2020 · 8 comments

Comments

@i-curve
Copy link

i-curve commented Oct 22, 2020

火狐:

Uncaught TypeError: d.a is undefined
    <anonymous> base-editor.js:1
    n base-editor.js:1
    <anonymous> base-editor.js:1
    <anonymous> base-editor.js:1
    <anonymous> base-editor.js:1
    <anonymous> base-editor.js:1
    node_modules chunk-vendors.js:10
    __webpack_require__ app.js:849
    fn app.js:151
    <anonymous> main.js:12
    js app.js:1009
    __webpack_require__ app.js:849
    fn app.js:151
    1 app.js:1022
    __webpack_require__ app.js:849
    checkDeferredModules app.js:46
    <anonymous> app.js:925
    <anonymous> app.js:928
base-editor.js:1
    <anonymous> base-editor.js:1
    n base-editor.js:1
    <anonymous> base-editor.js:1
    <anonymous> base-editor.js:1
    <anonymous> base-editor.js:1
    <anonymous> base-editor.js:1
    js chunk-vendors.js:10
    __webpack_require__ app.js:849
    fn app.js:151
    <anonymous> main.js:12
    js app.js:1009
    __webpack_require__ app.js:849
    fn app.js:151
    1 app.js:1022
    __webpack_require__ app.js:849
    checkDeferredModules app.js:46
    <anonymous> app.js:925
    <anonymous> app.js:928

谷歌:

Uncaught TypeError: Cannot read property 'config' of undefined
    at Module.eval (base-editor.js?ee2d:1)
    at n (base-editor.js?ee2d:1)
    at eval (base-editor.js?ee2d:1)
    at eval (base-editor.js?ee2d:1)
    at eval (base-editor.js?ee2d:1)
    at eval (base-editor.js?ee2d:1)
    at Object../node_modules/@kangc/v-md-editor/lib/base-editor.js (chunk-vendors.js:10)
    at __webpack_require__ (app.js:849)
    at fn (app.js:151)
    at eval (main.js:12)

vue3.0里面能用吗?

@code-farmer-i
Copy link
Owner

装的啥版本

@code-farmer-i
Copy link
Owner

是照这个装的吗 安装

@i-curve
Copy link
Author

i-curve commented Oct 23, 2020

恩,是的 @code-farmer-i

@code-farmer-i
Copy link
Owner

截下代码看看

@code-farmer-i
Copy link
Owner

加qq群讨论也行 798884474

@i-curve
Copy link
Author

i-curve commented Oct 23, 2020

哦,好了好了。我给安装错了,vue3中要使用npm i @kangc/v-md-editor@next -S去安装,之前我用的是npm i @kangc/v-md-editor -S安装的。:smile:
我之前看的这个文档v-md-editor。里面没有这种安装方法,只有那个2的,我以为安装方法都一样的。

@i-curve
Copy link
Author

i-curve commented Oct 23, 2020

@code-farmer-i

@code-farmer-i
Copy link
Owner

ok

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