Last active
April 22, 2017 16:16
-
-
Save paullinney/55a9f6052229432e645bc63c269aa950 to your computer and use it in GitHub Desktop.
Angular Application Page/Block Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* MYAPP webpack application container | |
*/ | |
?> | |
<div id="MYAPP" data-uuid="<?php print $data['uuid']; ?>" data-csrf="<?php print $data['csrf']; ?>"> | |
<?php foreach ($data['css'] as $css): ?> | |
<link href="/<?php print $css; ?>" rel="stylesheet" /> | |
<?php endforeach; ?> | |
<div class="application-placeholder">Loading application.</div> | |
<?php foreach ($data['js'] as $js): ?> | |
<script type="text/javascript" src="/<?php print $js; ?>"></script> | |
<?php endforeach; ?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment