p_to_s
Version:
在开发中,我们经常在考虑为什么增加这种订阅模式,根本原因是因为我们在使用的时候有时对一些东西需要进行通讯的时候会碰到一些麻烦,如果是在组件开发中,经常碰到组件深层传值操作,当然 vue,react,angular 也提供了对应的解决方案,例如 vue 中的$on,$emit
23 lines (22 loc) • 459 B
JSON
{
"name": "p_to_s",
"version": "1.0.2",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"publish",
"subscrib"
],
"author": "wanlicheng",
"license": "ISC",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-plugin-import": "^2.20.2"
}
}