Skip to content

Instantly share code, notes, and snippets.

@Moccine
Last active February 22, 2016 00:30
Show Gist options
  • Select an option

  • Save Moccine/0662340ab40f1318b72f to your computer and use it in GitHub Desktop.

Select an option

Save Moccine/0662340ab40f1318b72f to your computer and use it in GitHub Desktop.
Layouts
<!-- Fonts -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700" rel='stylesheet' type='text/css'>
<!-- Styles -->
<link href="{{asset('public/css/app.css')}}" rel="stylesheet" type="text/css">
{{--
<link href="public{{elixir('css/app.css')}}" rel="stylesheet" type="text/css">
Cete method poses a problem when you use the methods resource for the type of route:
Route::post('/user/{id}', 'UserController@show');
Route::post('/user/{id}/edit', 'UserController@edit');
He tries to find the CSS style in (user / id / public / build / css / app-1a2494bfd0.css)
--}}
<!-- JavaScripts -->
{{-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>--}}
<link href="{{asset('public/css/app.css')}}" rel="stylesheet" type="text/css">
{{--<script src="public/{{ elixir('js/all.js') }}"></script>--}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment