Created
August 1, 2019 14:52
-
-
Save deepslam/2a84833645dc051573d586b05e707fd2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<html> | |
<head> | |
<title>Test app</title> | |
<meta name="csrf-token" content="{{ csrf_token() }}"> | |
<link href="{{ mix('css/app.css') }}" rel="stylesheet"> | |
</head> | |
<body> | |
<div id="container" class="container-fluid"> | |
<div id="app"> | |
{!! ssr('index', '#container') !!} | |
</div> | |
</div> | |
<script src="{{ mix('js/app.js') }}" type="text/javascript"></script> | |
@if (getenv('APP_ENV') === 'local' && !isset($_GET['hide_browser_sync'])) | |
<script id="__bs_script__">//<![CDATA[ | |
document.write("<script async src='http://HOST:3000/browser-sync/browser-sync-client.js?v=2.26.3'><\/script>".replace("HOST", location.hostname)); | |
//]]></script> | |
@endif | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment