Open nsano-rururu opened 3 years ago
@johnsusek
Please comment if you have any ideas for migrating from vue 2 to 3. For example, is there no choice but to maintain praeco with vue2 as it is now? Should it be changed from scratch?
I'm still investigating, but I feel that it may be difficult to give the current praeco to vue3. https://github.com/johnsusek/praeco/wiki/vue2-%E2%86%92-vue3
I think it is possible.
Some thoughts
Don't need a vue-specific websocket lib, any one that auto reconnects is fine
Can remove emoji picker
Idea for split panel: just small css on sidebar div - resize: horizontal
+ remember sizes in localStorage
ElementPlus has an infinite scroller component: https://element-plus.org/en-US/component/infinite-scroll.html
Can use https://element-plus.org/en-US/component/tree-select.html for tree selection
Remove cron editor, change to plain text input: * * * 5 *
etc.
For query builder.. might be easier to use this: https://querybuilder.js.org/index.html + https://github.com/piotch/jQuery-QueryBuilder-Elasticsearch
The emoji picker worked normally with vue3, so I think it's okay to leave it as it is
I didn't know that element-plus has infinite scroller and tree-select. Thank you for the information.
@johnsusek
Build a small app in vue3 and add features and fix bugs to the current vue2 version until you understand how it works.
Migration Guide
Vue3.0 is supported from @ vue / cli 4.5.0 and above Let's say vue @ next, vue-loader @ next to make vue and vue-loader the ones for Vue 3. You also need @ vue / compiler-sfc to run vue-loader.
2.1.1
2022/06/27
4.0.15
2022/05/04
4.0.2
2021/06/17
5.74.0
2022/07/25
5.0.6
2022/06/16
5.0.6
2022/06/16
5.0.6
2022/06/16
5.0.6
2022/06/16
supporting eslint 8
2.0.1
2022/06/15
cross-env is "finished" (now in maintenance mode)
https://github.com/karoletrych/vue-cron-editor/tree/feature/vue3-support
※1 minimum supported webpack version is 5