Browse Source

Add remote story view

Daniel Supernault 3 năm trước cách đây
mục cha
commit
8c86953f42
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      resources/views/stories/show_remote.blade.php

+ 10 - 0
resources/views/stories/show_remote.blade.php

@@ -0,0 +1,10 @@
+@extends('layouts.blank')
+
+@section('content')
+<story-viewer pid="{{$pid}}" redirect-url="/"></story-viewer>
+@endsection
+
+@push('scripts')
+<script type="text/javascript" src="{{mix('js/stories.js')}}"></script>
+<script type="text/javascript">App.boot();</script>
+@endpush