Skip to content

Instantly share code, notes, and snippets.

@deepslam
Created August 1, 2019 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deepslam/2a84833645dc051573d586b05e707fd2 to your computer and use it in GitHub Desktop.
Save deepslam/2a84833645dc051573d586b05e707fd2 to your computer and use it in GitHub Desktop.
<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