For the problems in the self-made vue component library, please ask the boss for guidance.

the directory structure is as follows:
clipboard.png

:
clipboard.png

package.json :
clipboard.png

packagesindex.js:
clipboard.png

srcapp.vue
clipboard.png


clipboard.png

solve.


Vue.use automatically uses the object's install method, and your install method needs to be imported as a whole on objects in your {install, version, xxxx} entire component library. Single component WZtables does not have this method.
the introduction of demand loading like this requires registration using components: xx or Vue.component () separately.

Menu