Vuejs develops a functional console similar to that of Yi Qixiu.

1. Previously, I used native js to develop a system similar to vuejs, online drag and drop to generate web pages, but now the second version wants to change vuejs or ng
2. The logic before is dragged into the console, saved or released, and then the dom+ style + script is directly stored in the database, and then you can read or publish
3. I would like to know how to implement the logic of changing it to vuejs,?
4. In which form are components stored in the library, and in which way are they taken out and used?


use vue
save :
page: different modules are written as different components, (for example: rotation component, grid component, navigation component, title component, search component, etc.). When saving, different components are saved in the database (including dom and fixed class names, etc.).
style: different modules are written into different components, and the component styles that need to be changed are stored in the data data using variable names to modify the component style data in the settings.
take :
the public page index.vue takes different components stored in the database, combines them into pages, and the style is read from the variable name.

Menu