Skip to content

Commit 95b0345

Browse files
committed
chore: update vue template to be installed from npm
1 parent d3f99f5 commit 95b0345

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/commands/create-project.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ or --js flags.)
113113
break;
114114
}
115115
case constants.VueFlavorName: {
116-
selectedFlavorTemplates.push({ value: "https://github.com/NativeScript/template-blank-vue/tarball/0.9.0" });
116+
selectedFlavorTemplates.push({ value: "tns-template-blank-vue" });
117117
break;
118118
}
119119
case constants.TsFlavorName: {

lib/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const RESERVED_TEMPLATE_NAMES: IStringDictionary = {
7878
"default": "tns-template-hello-world",
7979
"javascript": "tns-template-hello-world",
8080
"tsc": "tns-template-hello-world-ts",
81-
"vue": "https://github.com/NativeScript/template-blank-vue/tarball/0.9.0",
81+
"vue": "tns-template-blank-vue",
8282
"typescript": "tns-template-hello-world-ts",
8383
"ng": "tns-template-hello-world-ng",
8484
"angular": "tns-template-hello-world-ng"

test/project-commands.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ describe("Project commands tests", () => {
212212

213213
await createProjectCommand.execute(dummyArgs);
214214

215-
assert.deepEqual(selectedTemplateName, "https://github.com/NativeScript/template-blank-vue/tarball/0.9.0");
215+
assert.deepEqual(selectedTemplateName, "tns-template-blank-vue");
216216
});
217217
});
218218
});

0 commit comments

Comments
 (0)