I need to connect some files, using csrf_token
(from laravel), but i have unknown errors such as:
<link rel="stylesheet" href="{{ asset('css/app.css) }}">
<script>
var BASE_URL = '{{ URL::to('/') }}';
</script>
<script src="{{ asset('js/app.js') }}"></script>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>Auth</title>
<link rel="stylesheet" href="{{ asset('css/app.css) }}">
</head>
<body>
<div id="app"></div>
<script>
var BASE_URL = '{{ URL::to('/') }}';
</script>
<script src="{{ asset('js/app.js') }}"></script>
</body>
</html>
You have missed a quote
instead of
<link rel="stylesheet" href="{{ asset('css/app.css) }}">
use
<link rel="stylesheet" href="{{ asset('css/app.css') }}">