Skip to content

Commit

Permalink
feat: Add generate command
Browse files Browse the repository at this point in the history
Fixing generated files. jQuery and Angular are almost ready now...
  • Loading branch information
wnvko committed Feb 16, 2018
1 parent 127c3f1 commit 20c7210
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 12 deletions.
9 changes: 7 additions & 2 deletions templates/angular/igx-ts/generate/files/__name__.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"id": "$(name)",
"name": "$(name)",
"description": "$(name) template",
"framework": "$(framework)",
"projectType": "$(type)",
"components": "<add your components here>"
}
"components": "<add your components here>",
"controlGroup": "<add your control group name here>",
"listInComponentTemplates": true,
"dependencies": "[<list your component dependencies here>]"
}
Binary file not shown.
9 changes: 7 additions & 2 deletions templates/jquery/js/generate/files/__name__.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"id": "$(name)",
"name": "$(name)",
"description": "$(name) template",
"framework": "$(framework)",
"projectType": "$(type)",
"components": "<add your components here>"
}
"components": "<add your components here>",
"controlGroup": "<add your control group name here>",
"listInComponentTemplates": true,
"dependencies": "[<list your component dependencies here>]"
}
Binary file not shown.
18 changes: 10 additions & 8 deletions templates/jquery/js/generate/files/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<title>$(name)</title>
<title>$(description)</title>

$(cssBlock)
$(scriptBlock)

<script type="text/javascript">
// TODO: add necessary script to load your template
</script>
</head>
<body>
<h1>Ignite UI CLI Project: $(name)</h1>
<h2>Ignite UI CLI Framework: $(framework)</h2>
<h2>Ignite UI CLI Type: $(type)</h2>
<h3>Thank you for using the Ignite UI CLI!</h3>
<img src="assets/Ignite-header-apps-960.png" alt="Ignite UI" height="602" width="602" />

<div id="$(name)"></div>
</body>
</html>
</html>

0 comments on commit 20c7210

Please sign in to comment.