39

从零开始徒手撸一个vue的toast弹窗组件

 5 years ago
source link: https://juejin.im/post/5af55f906fb9a07aae153c1c
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
相信普通的vue组件大家都会写,定义 -> 引入 -> 注册 -> 使用,行云流水,一气呵成,但是如果我们今天是要自定义一个弹窗组件呢? 首先,我们来分析一下弹窗组件的特性(需求): 0. 轻量 --一个组件小于 1Kib (实际打包完不到0

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK