- 博客(6)
- 收藏
- 关注
原创 vuex store.js 源码中为什么要加 if(!Vue&&typeof window !== ‘undefined‘ && window.Vue)的判断?
如果我们自己开发插件,并期待插件无需调用Vue.use()便会自动安装 就可以加入这几行代码。这种方式,所以源码中会给我们补充install一下。但是如果是cdn引入vue的场景不行,也就是。使用插件,Vue会调用install函数。
2024-06-05 19:49:00
104
2
原创 npm ERR!gyp verbcheck python checking for Pythonexecutable “python2“ in the PATH问题解决
npm ERR!gyp verbcheck python checking for Pythonexecutable "python2" in the PATH
2023-06-28 09:26:00
1146
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人