1.0.11 • Published 6 years ago
vue-hi-there v1.0.11
vue-custom-element
This is a vue component wrapped by vue-custom-element and ready be to consumed by other frameworks such as angular, react,etc.
create regular vue component
in the index.js, import vue and vue-custom-element to wrap the vue component and export a class ready to be used
run npm command to rollup the js bundle file inside the dist and docs folder
publish the npm package with the main pointing to the dist js file or the docs js file
install the package in other frameworks and import the name of the package then the custom element is ready for use