Skip to content

FEATURE: Specify template extension #988

Open
@sanderbos1402

Description

@sanderbos1402

I am working on a project using angular for both the browser and Nativescript.
It would be nice to be able to specify a template extension for Nativescript.
For now I use name.html for browser template and name.tns.html for Nativescript template.
For Nativescript to automatically use my template I have a gulp job running that watches filechanges in the .tns.html file and creates .ios.html and .android.html files so Nativescript will use them automatically.
Since you always have logic that looks for .ios en .android parts, maybe you could include .tns (and .tns.ios and .tns.android) also.

the same holds true for files containing styles (.tns.css or .tns.scss etc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions