Skip to content

Specify Vue Library #2722

@heywhy

Description

@heywhy

Currently, the vue-language-core assumes that everyone uses Vue, so, it does not cater for projects that make use of a custom renderer.

I will suggest that one is allowed to specify the package to use as part of tsconfig. What this means is that, the below function either makes use of the specified vueLibrary (see nativescript-vue/nativescript-vue#1038) or default to vue.

return vueVersion < 2.7 ? '@vue/runtime-dom' : 'vue';

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions