diff --git a/docs/README.md b/docs/README.md index ddfa5a4..c94f67b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -46,6 +46,12 @@ components: { ``` +## Compatibility + +Vue-form-wizard works with Vue > 2.2, but the examples in the docs follow the latest Vue > 2.5 changes especially on the `slot` parts. +If you use vue < 2.5.x, use `scope="props"` instead of `slot-scope="props"` for scoped slots. See [Vue 2.5 simplified scoped slots](https://gist.github.com/yyx990803/9bdff05e5468a60ced06c29c39114c6b#simplified-scoped-slots-usage) + + ## Props ### Form Wizard props ```js @@ -191,8 +197,8 @@ then you could use this slot. Otherwise, you could stick with the buttons slots One potential usage can be that you want to have a different button when completing the wizard. Maybe you want to position it in the center, give it a different color and click event ```html -