Skip to content

Commit 0e3bbd0

Browse files
authored
chore: fix typos in compat document
1 parent 808ccf0 commit 0e3bbd0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/vue-compat/README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ The following workflow walks through the steps of migrating an actual Vue 2 app
9393
}
9494
}
9595
})
96+
}
9697
}
9798
```
9899
</details>
@@ -163,7 +164,7 @@ The following workflow walks through the steps of migrating an actual Vue 2 app
163164

164165
- You can filter for specific warnings in the browser console. It's a good idea to use the filter and focus on fixing one item at a time. You can also use negated filters like `-GLOBAL_MOUNT`.
165166

166-
- You can suppress specific deperecations via [compat configuration](#compat-configuration).
167+
- You can suppress specific deprecations via [compat configuration](#compat-configuration).
167168

168169
- Some warnings maybe caused by a dependency that you use (e.g. `vue-router`). You can check this from the warning's component trace or stack trace (expanded on click). Focus on fixing the warnings that originates from your own source code first.
169170

@@ -217,7 +218,7 @@ declare module 'vue' {
217218
}
218219
```
219220

220-
Note the `CompatVue` type does not provide options API `this` type inference for `new Vue()` and `Vue.extend` - to get `this` type inference inside compoent options, update to use [`defineComponent`](https://v3.vuejs.org/api/global-api.html#definecomponent) instead.
221+
Note the `CompatVue` type does not provide options API `this` type inference for `new Vue()` and `Vue.extend` - to get `this` type inference inside component options, update to use [`defineComponent`](https://v3.vuejs.org/api/global-api.html#definecomponent) instead.
221222

222223
## Compat Configuration
223224

@@ -308,7 +309,7 @@ Features that start with `COMPILER_` are compiler-specific: if you are using the
308309

309310
| ID | Type | Description | Docs |
310311
|--------------------------|------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------|
311-
| TRANSITION_CLASSES || Transtion enter/leave classes changed | [link](https://v3.vuejs.org/guide/migration/transition.html) |
312+
| TRANSITION_CLASSES || Transition enter/leave classes changed | [link](https://v3.vuejs.org/guide/migration/transition.html) |
312313
### Fully Compatible
313314

314315
| ID | Type | Description | Docs |
@@ -319,7 +320,7 @@ Features that start with `COMPILER_` are compiler-specific: if you are using the
319320
| GLOBAL_SET || `Vue.set` removed (no longer needed) | |
320321
| GLOBAL_DELETE || `Vue.delete` removed (no longer needed) | |
321322
| GLOBAL_OBSERVABLE || `Vue.observable` removed (use `reactive`) | [link](https://v3.vuejs.org/api/basic-reactivity.html) |
322-
| CONFIG_KEY_CODES || config.keyCodes rmeoved | [link](https://v3.vuejs.org/guide/migration/keycode-modifiers.html) |
323+
| CONFIG_KEY_CODES || config.keyCodes removed | [link](https://v3.vuejs.org/guide/migration/keycode-modifiers.html) |
323324
| CONFIG_WHITESPACE || In Vue 3 whitespace defaults to `"condense"` | |
324325
| CONFIG_OPTION_MERGE_STRATS || Vue 3 no longer exposes internal option merge strats | |
325326
| INSTANCE_SET || `vm.$set` removed (no longer needed) | |

0 commit comments

Comments
 (0)