Skip to content

Commit 27f75a4

Browse files
Merge pull request #75 from wizardnet972/master
fix(schematics): add domainDirectory to the import path in feature co…
2 parents f941452 + 2dd74d4 commit 27f75a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/ddd/src/schematics/feature/files/forFeature/__name@dasherize__.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, OnInit} from '@angular/core';
2-
import { <%=classify(name)%>Facade } from '<%=workspaceName%>/<%=dasherize(domain)%>/domain';
2+
import { <%=classify(name)%>Facade } from '<%=workspaceName%>/<%=dasherize(domain)%><%- domainDirectory ? '/' + domainDirectory : '' %>/domain';
33

44
@Component({
55
selector: '<%=dasherize(domain)%>-<%=dasherize(name)%>',

libs/ddd/src/schematics/feature/files/forFeatureWithNgrx/__name@dasherize__.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, OnInit} from '@angular/core';
2-
import { <%=classify(name)%>Facade, load<%=classify(entity)%> } from '<%=workspaceName%>/<%=dasherize(domain)%>/domain';
2+
import { <%=classify(name)%>Facade, load<%=classify(entity)%> } from '<%=workspaceName%>/<%=dasherize(domain)%><%- domainDirectory ? '/' + domainDirectory : '' %>/domain';
33

44
@Component({
55
selector: '<%=dasherize(domain)%>-<%=dasherize(name)%>',

0 commit comments

Comments
 (0)