Adds vue class decorators.
What does this MR do?
The MR introduces for Vue the class component style (see https://github.com/vuejs/vue-class-component) and also the property decorator (see: https://github.com/kaorun343/vue-property-decorator).
These dependencies make the readability for Vue components better.
How confident are you it won't break things if deployed?
I changed some babel configuration, which loads some plugins for decorator support.
Additional I changed as an example the RegisterMobilephone.vue
.
Links to related issues
Any relevant links (issues, documentation, slack discussions).
How to test
Steps a reviewer can take to verify that this MR does what it says it does e.g.
- Checkout branch locally
- Go to
http://localhost:18080/?page=register
- Step through registration, type in mobile phone number and see if page is working.
Screenshots (if applicable)
Any relevant screenshots if this is a design / frontend change
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s)) -
Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings
Edited by David