1.0.1 • Published 3 years ago
yt-toast-panel v1.0.1
vue-plugin
Project setup
npm install yt-toast-panel -D
attention
由于vue-cli4自带安装的sass-loader node-sass版本过高,需要先卸载,再降级,否则会报错
npm uninstall sass-loader node-sass
npm install sass-loader@8.0.2 node-sass@4.14.1
参考文章
See 手把手教你写vue插件并发布
使用vue-cli4快速搭建项目环境、使用webpack4打包自己的library类库、封装vue插件并发布
See TypeError: this.getOptions is not a function解决方案
TypeError: this.getOptions is not a function