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

1.0.17版本文件引用路径错误,并且和1.0.15版本引用路径不一致,导致编译时报错 #46

Open
fanwei1991 opened this issue Feb 22, 2023 · 5 comments

Comments

@fanwei1991
Copy link

image

@longer008
Copy link

一样,项目起不来

@longer008
Copy link

import { VueOkrTree } from "vue-okr-tree/lib/vue-okr-tree.umd.min";
import "vue-okr-tree/lib/vue-okr-tree.css";
目前我是这样处理的

@noovertime7
Copy link

@longer008 请问问题解决了吗,我现在导入不报错了,但是又有新报错了 #48

@biggoose-7
Copy link

@longer008 请问问题解决了吗,我现在导入不报错了,但是又有新报错了 #48

这个报错是vue2版本的,切换package或者import的路径可以解决not found的问题,和vue3的报错不太一样

@rainbowNo69
Copy link

如果okr-tree 报错 node_modules/vue-okr-tree/package.json中修改 "main": "lib/vue-okr-tree.umd.min.js",

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

5 participants