@hicoder/angular-cli
Version:
Angular UI componenets and service generator. It works with the mean-rest-express package to generate the end to end web application. The input to this generator is the Mongoose schema defined for the express application. mean-rest-express exposes the Res
8 lines (7 loc) • 484 B
text/typescript
selector: 'app-<%-schemaName%>-<%-component_file_name%>',<%
if (customTemplates.html) {%>
templateUrl: '<%-customTemplates.html%>',<%} else {%>
templateUrl: './<%-schemaName%>-<%-component_file_name%>.component.html',<%}%><%
if (customTemplates.css) {%>
styleUrls: [<%for (let c of customTemplates.css) {%>'<%-c%>', <%}%>],<%} else {%>
styleUrls: ['./<%-schemaName%>-detail.component.css', './<%-schemaName%>-<%-component_file_name%>.component.css'],<%}%>