Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (34 sloc) 1.19 KB
<html>
<head>
<title>{{this.title}}</title>
<meta name="Description" content="A StealJS and CanJS demo application.">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<can-import from="~/styles.less" />
<can-import from="~/components/main-nav/" />
<can-import from="~/components/loading-tag.component" />
<can-import from="~/components/loading-text.component" />
<can-import from="~/app" export-as="viewModel" route-data="routeData" />
<main-nav/>
{{#if this.pageComponent.isResolved}}
{{this.pageComponent.value}}
{{else}}
<loading-text/>
{{/if}}
<h1>NODE_ENV: {{env.NODE_ENV}}</h1>
{{#switch env.NODE_ENV}}
{{#case "production"}}
<script src="/dist/steal.production.js"></script>
{{/case}}
{{#default}}
<can-import from="~/components/debug-variables.component" can-tag="loading-tag">
<debug-variables/>
</can-import>
<script src="/node_modules/steal/steal.js" main data-autorender-debug-break></script>
{{/default}}
{{/switch}}
</body>
</html>