How can the front-end project of jquery+vue support jsx

The main purpose of

is to do this function. There is a tree component in the shuttle box. I intend to use the tree component of element and the shuttle box, but it does not match well. The project is jq plus vue, no building tools are used, and do not support jsx,. Do you have any good suggestions?

Mar.22,2021

judge the selected data and then make changes to the data, using the compiled code of element-ui


there are three solutions to this, and our project is also jQuery+vue

.
  1. look for vue plug-ins. Even if you don't have a build tool, you can use vue plug-ins. Be careful not to find es6 syntax. If it's es6, you have to change the source code and translate it into es5.
  2. .
  3. find the plug-in of jQuery, or get the data through the dom layer, set data, but there is no link to the two-way binding of vue data, but it must work, it's just that the code-level fit is not good enough.
  4. modified the jQuery plug-in found. (bad policy, thankless)

Don't choose things like iview elementUI. You can't use it without node. Find some separate components

.
Menu