How to publish a NPM package of few VUE Typescript components along with some typescript entities project? #9179
Thirumal-J
started this conversation in
General Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two vue js microfrontends where some of the entities and custom vue components are redundant. Hence I want to extract the common vue components, common enums, common constants, error messages, common entities and keep them in one core library and publish it as an npm package. I also should have testing for the vue components. How can I achieve this? Is there any project that I can refer to understand these concepts? I tried vite, vue-client, I am able to package this, but when I try to import them, I am always getting
core modules is not exporting this package
error. Please somone help me.Beta Was this translation helpful? Give feedback.
All reactions