openmct/.webpack
Jesse Mazzella 4885c816dc
Migrate to Vue 3 Migration Build (#6767)
* Replacing all instances of the new Vue() component creation pattern
* In Vue 3, components cannot be created on the fly and mounted off-DOM. The suggested fix from Vue is to use createApp, but in the context of Open MCT this means dozens of Vue apps being created and destroyed at any given moment. Instead, we have used a community hack for creating individual components.
* beforeDestroy() -> beforeUnmount()
* destroyed() -> unmounted()
* The addition of deep: true option on Array listeners is now required to detect Array changes
* Open MCT is now mounted on a child div instead of directly on document.body


---------

Co-authored-by: Scott Bell <scott@traclabs.com>
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: John Hill <john.c.hill@nasa.gov>
2023-07-19 11:22:23 -07:00
..
webpack.common.js Migrate to Vue 3 Migration Build (#6767) 2023-07-19 11:22:23 -07:00
webpack.coverage.js chore: add prettier (2/3): apply formatting, re-enable lint ci step (#6682) 2023-05-18 21:54:46 +00:00
webpack.dev.js Migrate to Vue 3 Migration Build (#6767) 2023-07-19 11:22:23 -07:00
webpack.prod.js Migrate to Vue 3 Migration Build (#6767) 2023-07-19 11:22:23 -07:00