-
目前在推进 React 组件库的正式版发布,组件 Api 也进入相对稳定阶段,为保证组件质量及减轻后续维护成本需完善测试覆盖率,尽可能的让每个 Api 都有单元测试保障。
#### Tips
- 如果你更熟悉 Jest 可以参照 [官方迁移指南](https://cn.vitest.dev/guide/migration.html) 来学习如何使用 Vitest。
- 使用 vscode…
-
就算打开不填数据也提示格式有误
-
You are being pinged because you have at least one resource listed under the Awesome Vue list.
As per https://github.com/vuejs/awesome-vue/issues/836 we have reviewed the list and created a new one…
-
## bug 描述
【BUG】vue2多个编辑器复制粘贴报错
## 你预期的样子是?
控制台报错
## 系统和浏览器及版本号
- 操作系统。Mac
- 浏览器和版本: Chrome最新
## wangEditor-next 版本
"@wangeditor-next/editor": "^5.3.13",
"@wangeditor-nex…
-
环境:
主应用: VUE2 vue-router3.x
子应用 : VUE3 vue-router4
虚拟路由开启
场景:
进入主应用后,点击左侧菜单进入子应用页面a,即/main/a?alert-app=/a,
在点击左侧菜单进入同一个子应用页面B,即/main/b?alert-app=/b,
点击浏览器回退按钮正常进入/main/a?al…
-
I'll use this issue to keep track of all efforts to support Vue 3 in the next major version of Vue Testing Library.
All feedback is appreciated! 🚀
---
Support for Vue 3 is released in `next`…
-
### 土司
- 传递数据
```sh
```
```sh
export default {
el: "#cdn",
data() {
return {
inputinfo: "",
};
},
methods: {
startTarget() {
let inputinfo = this.…
-
-
### Subject of the issue
After updating `vue` to 2.7.9 or above, `vue-tsc` throws an type error on the `mount()` call.
Seems triggered by https://github.com/vuejs/vue/pull/12727/files
### Ste…
-
## 全局注册组件
Vue中的组件可以扩展 HTML 元素,封装可重用的代码,是Vue重要的一部分
```js
//定义组件
var wsscat = Vue.extend({
template: "I am wsscat"
})
//注册组件
Vue.component('wsscat', wsscat)
var demo = new Vue({
el: '#de…