Skip to content

Support for nativescript-vue-template-compiler #354

@cainrus

Description

@cainrus

Feature motivation

Compatibility with nativescript-vue. It uses nativescript-vue-template-compiler instead of vue-template-compiler

Feature description

Allow to set { vue: {compiler: 'nativescript-vue-template-compiler'}} instead of vue: true
To be compatible with nativescript-vue based projects.

Feature implementation

We need to fix types for vue option from boolean to boolean | { compiler: string }
Pass vue options to VueProgram.ts if they are available, then update require('vue-template-compiler') and error message in catch block.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions