-
Notifications
You must be signed in to change notification settings - Fork 276
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
vue-cli 项目无法使用 #40
Comments
大神能说一下在vue-cli里面怎么用吗?我使用: 引入进来以后,在页面里怎么调用呢? 尝试了官方的例子,我发现报错了,报MiniRefreshTools 不是构造函数。。。 |
import 'minirefresh/dist/debug/minirefresh.css' |
按照官方的写法报这个错,后来大神的写法也还是报这个错,是不是我的实例化方式有问题 vue.runtime.esm.js?ff9b:587 [Vue warn]: Error in mounted hook: "TypeError: __WEBPACK_IMPORTED_MODULE_0_minirefresh_dist_minirefresh_min_js___default.a is not a constructor" mounted () {
}, |
不好意思哈,最近身心俱疲... 初始化时,要 |
学习下 |
vue-cli 报是为什么'MiniRefresh' is not defined |
vue 打包默认过滤掉node_modules的babel编译,index.js里的const关键字不会被babel转义,导致某些浏览器不兼容,希望能处理一下
The text was updated successfully, but these errors were encountered: