Skip to content

Commit

Permalink
replace mix with vite
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj committed Jul 10, 2022
1 parent c09646d commit f1c7ad9
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions resources/views/camino-creator/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,9 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>Camino: My Tours</title>

<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
<link rel="stylesheet" href="{{ mix('css/camino-creator.css') }}">
<!-- Styles -->

@vite(['resources/camino-creator/creator-app.ts'])
</head>

<body>
Expand Down Expand Up @@ -43,16 +39,14 @@ class="d-flex justify-content-between flex-md-row align-items-center p-3 px-md-4

</div>
</footer>

<script>
@auth
window.Permissions = {!! json_encode(Auth::user()->allPermissions, true) !!};
@else
window.Permissions = [];
@endauth
window.mapbox = "{{ config('services.mapbox') }}";
</script>
</body>
<script>
@auth
window.Permissions = {!! json_encode(Auth::user()->allPermissions, true) !!};
@else
window.Permissions = [];
@endauth
window.mapbox = "{{ config('services.mapbox') }}";
</script>
<script src="{{ mix('js/camino-creator.js') }}"></script>

</html>

0 comments on commit f1c7ad9

Please sign in to comment.