I have an old .NET MVC project where the Views are built with HTML, bootstrap and jQuery. I'm about to replace jQuery with Vue.JS but I'm unsure of the best approach.
All views are very different from each other, the idea of reuseable components wont be useful as there are no HTML or functions that are used in different views.
I'm thinking that the best approach would be to keep the HTML as it is instead of splitting it up in templates within components, i would init Vue instances on different blocks of the HTML where Vue is needed.
Example, i have a view with 3 tables where one of the tables can be modified by 2 modals.
<div>
<div id=table1></div>
<div id=table2></div>
<div id=table3></div>
<div id=modal1></div>
<div id=modal2></div>
</div>
For this view i would init new Vue Instances for table3, modal1 and modal2. For data and state i will use a shared store: https://v2.vuejs.org/v2/guide/state-management.html
This seem like a good and easy solution for me, but i've also read that this is extremely bad practice so i'm still unsure.
Is this solution bad practice?