Skip to content

Commit

Permalink
fixes issue #59
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcherubini committed Mar 21, 2017
1 parent 6826fb4 commit d9cef58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/models/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Defaults {
backupLayout: string;
layoutPath: string;
options: Object;
constructor(options: Object) {
constructor(options: Object = {}) {
this.rootPath = options.settings.vue.rootPath === undefined ? options.settings.views + '/' : options.settings.vue.rootPath + '/';
this.layoutsDir = options.settings.vue.layoutsDir === undefined ? '' : this.rootPath + options.settings.vue.layoutsDir + '/';
this.componentsDir = options.settings.vue.componentsDir === undefined ? '' : options.settings.vue.componentsDir + '/';
Expand Down

0 comments on commit d9cef58

Please sign in to comment.