Skip to content

chore: update vue template to be installed from npm #4009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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");
});
});
});