Skip to content

Commit

Permalink
fix: create component template
Browse files Browse the repository at this point in the history
  • Loading branch information
weblancaster committed Apr 6, 2018
1 parent a3fdbe0 commit 3c85ecc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/create-component
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
let fs = require("fs-extra");
let path = require("path");
const fs = require("fs-extra");
const path = require("path");
let componentName = "Component";
const templatePath = "templates/component/";

Expand Down
2 changes: 1 addition & 1 deletion scripts/templates/component/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from "./component";
export { default } from "./${Component}";

0 comments on commit 3c85ecc

Please sign in to comment.