Skip to content

Commit

Permalink
Copy app's index.html to the layout.html file
Browse files Browse the repository at this point in the history
For #2 — we include some basic scripts.
  • Loading branch information
khawkins98 committed Jun 13, 2017
1 parent e3b1b8a commit 52569e0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions content/websites/patterns/taxonomy-lookup/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,26 @@
title: Taxonomy lookup
layout: free-form
---
<!DOCTYPE html>
<html>
<head>
<title>TaxTest</title>
<meta name="viewport" content="width=device-width, initial-scale=1">

<!-- Run angular client side -->
<script>document.write('<base href="' + document.location + '" />');</script>
<script src="https://unpkg.com/core-js/client/shim.min.js"></script>
<script src="https://unpkg.com/[email protected]?main=browser"></script>
<script src="https://unpkg.com/[email protected]/dist/system.src.js"></script>
<script src="taxonomy-lookup/systemjs/systemjs.config.js"></script>
<script>
System.import('taxonomy-lookup/tax/src/main.ts').catch(function(err){ console.error(err); });
</script>
<!-- END Run angular client side -->
</head>

<body>
{{> taxonomy-lookup}}
<app-root>Loading...</app-root>
</body>
</html>

0 comments on commit 52569e0

Please sign in to comment.