Anyone have bundle/package repo template for component distribution via npm?
-
In the course of developing an extensive frontend I’ve developed serveral useful components that I want to be able to unbundle from the project and package to make available via npm.
I’ve looked at this
https://vuejs.org/v2/cookbook/packaging-sfc-for-npm.html
and this template repo
https://github.com/ericksonreyes/vue-sfc-template.gitbut wondering if someone has made something similar but specifically for a quasar based component. Not only for generating the distribution file versions but that would allow easy testing as well. I suppose it doesn’t have to be a template per say just a repo someone has created to package up one of their components.
BTW I saw some old issue where someone was asking if the qusar cli be ammended to generate such a template repo and @rstoenescu said probably not.
-
@dgk - You might be able to take inspiration from Quasar’s app extension system (or just use it).
https://quasar.dev/app-extensions/development-guide/introduction#Introduction
You’d be interested in the UI Kit.
Scott