Robert Schäfer
5d57f7b376
No global import - Thank you @JorgenVatle! ❤️
...
In version `v4.2.0` of `vue-sweetalert-icons` the local import is back, see:
https://github.com/JorgenVatle/vue-sweetalert-icons/issues/3#issuecomment-519497796
2019-08-09 13:21:54 +02:00
Robert Schäfer
27163b8d79
Install vue-sweetalert-icon globally
...
Updating the package to `v4.0.0` still gives me this warning:
```
WARN Compiled with 1 warnings
WARN in ./components/PasswordReset/ChangePassword.vue?vue&type=script&lang=js&
"export 'SweetalertIcon' was not found in 'vue-sweetalert-icons'
```
According to this thread https://github.com/JorgenVatle/vue-sweetalert-icons/issues/3
I copy+pasted the example configuration:
https://github.com/JorgenVatle/vue-sweetalert-icons-preview/blob/master/nuxt.config.js
https://github.com/JorgenVatle/vue-sweetalert-icons-preview/blob/master/plugins/vue-sweetalert-icons.js
And now the compile warnings are gone. I'm going to ask the maintainer if the
local import is not possible with `v4.0.0` anymore.
2019-08-06 11:03:12 +02:00
Robert Schäfer
4207aee09d
DRY up password validations
2019-07-09 22:12:40 +02:00
Robert Schäfer
90aa1822b5
Disable the form button with a slot scope
2019-07-09 22:12:40 +02:00
Robert Schäfer
29bbeaa0fa
Fix tests by calling wrapper.html() once more
...
I really don't understand why, but apparently `wrapper.html()` does some
re-rendering which in our cases fixes the tests, because we reach the
new sub component in the DOM tree.
2019-07-09 22:12:40 +02:00
Robert Schäfer
d76923c471
Copy all relevant files changed from branch signup
2019-07-09 22:12:40 +02:00