Closed wreality closed 3 years ago
I changed the description to better adhere to the problem/goal/solution format. Feel free to make adjustments if anything's inaccurate.
Works for me!
Updated the estimate as it turns out figuring out jest testing was a bigger chore than expected.
Problem/Why
There are challenges and drawbacks with re-using code with the traditional approaches available in Vue 2 (i.e. mixins, mixin factories, scoped slots).
Goal/What
Implement the vue2 composition api to improve the reuse of code in an organized, maintainable way.
Solution/How
The vue2 composition api is compatible with our current quasar. Install and configure the composition api.
To Do / Acceptance Criteria
[x] Install the @vue/composition-api: https://github.com/vuejs/composition-api
[x] When instructed to add Vue.use(VueCompositionApi) read QuasarCLI/boot files
[x] Ensure that all tests remain passing.
[x] Ensure existing tests pass.
Review Checklist
[ ] Existing tests pass
Accessibility Checklist
No accessibility concerns.