Closed ghost closed 4 years ago
Some inroads made; no PR yet. Since Levi's use case isn't to use in a vue context, I've had to make an option for it:
const webTemplateOnly = options.webTemplateOnly || false
for (const key in components) {
const keystr = webTemplateOnly ? key.toLowerCase() : key
registerComponent(Vue, keystr, components[key])
}
May or may not be the correct way to handle this, however.
Inroads being made with PR #8.
PR #8 merged. Gotta take some risks sometimes.
Would be nice to do something like:
and have the
.config
function generate an object that hasinstall()
built in.