Skip to content

Commit

Permalink
Merge pull request #4009 from NativeScript/kddimitrov/update-vue-temp…
Browse files Browse the repository at this point in the history
…late

chore: update vue template to be installed from npm
  • Loading branch information
KristianDD authored Oct 10, 2018
2 parents 2e60b34 + 95b0345 commit 2b5416c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/commands/create-project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ or --js flags.)
break;
}
case constants.VueFlavorName: {
selectedFlavorTemplates.push({ value: "https://github.com/NativeScript/template-blank-vue/tarball/0.9.0" });
selectedFlavorTemplates.push({ value: "tns-template-blank-vue" });
break;
}
case constants.TsFlavorName: {
Expand Down
2 changes: 1 addition & 1 deletion lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const RESERVED_TEMPLATE_NAMES: IStringDictionary = {
"default": "tns-template-hello-world",
"javascript": "tns-template-hello-world",
"tsc": "tns-template-hello-world-ts",
"vue": "https://github.com/NativeScript/template-blank-vue/tarball/0.9.0",
"vue": "tns-template-blank-vue",
"typescript": "tns-template-hello-world-ts",
"ng": "tns-template-hello-world-ng",
"angular": "tns-template-hello-world-ng"
Expand Down
2 changes: 1 addition & 1 deletion test/project-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ describe("Project commands tests", () => {

await createProjectCommand.execute(dummyArgs);

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

0 comments on commit 2b5416c

Please sign in to comment.