the directory structure is as follows:

:
package.json :
packagesindex.js:
srcapp.vue
solve.
the directory structure is as follows:

:
package.json :
packagesindex.js:
srcapp.vue
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.