-
Notifications
You must be signed in to change notification settings - Fork 84
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
TypeError: luckysheet.create is not a function #8
Comments
大佬解决了么 我也遇到了 |
解决了吗,同样的错 |
需要在项目的html页面中引入Luckysheet的依赖 |
本地方式 <script src="./plugins/js/plugin.js"></script> <script src="./luckysheet.umd.js"></script> cdn方式 <script src="https://cdn.jsdelivr.net/npm/luckysheet/dist/plugins/js/plugin.js"></script> <script src="https://cdn.jsdelivr.net/npm/luckysheet/dist/luckysheet.umd.js"></script> |
先后引入关系,先引入plugin.js 再引入uckysheet.umd.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
首先我自己有个 vue 项目,我在package.json 加入了
"core-js": "^3.6.5",
"luckyexcel": "^1.0.0",
其次我参考luckysheet-vue 项目里配置的 一些demo
直接复制到了我的项目中
当我进行 npm install
且成功启动我的项目后
开发网页 console 里面报错
TypeError: luckysheet.create is not a function
at VueComponent.eval (HelloWorld.vue?18db:298)
at Array.eval (vue.esm.js?efeb:1998)
at flushCallbacks (vue.esm.js?efeb:1924)
我是不是遗漏了什么
The text was updated successfully, but these errors were encountered: