lundi 19 décembre 2016

how to add css sripts and jquery scripts to Laravel @extends('layouts.app') @section('content')

I need add following css and jquery scripts

<script src=""></script>
    <script src=""></script>
    <script type="text/javascript">
      $(document).ready(function(){
        $('#slider').bxSlider({
        ticker: true,
        tickerSpeed: 5000,
      tickerHover: true
      });
      });
    </script>

<link href="" rel="stylesheet">

to app.blade.php file

  <!DOCTYPE html>
    <html lang="en">
      <head>
<meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
        <meta name="description" content="">
        <meta name="author" content="">
        <link rel="icon" href="">

        <title>Wealth </title>

        <!-- Bootstrap core CSS -->
        <link href="" rel="stylesheet">

        <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
        <link href="" rel="stylesheet">

        <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
        <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
        <script src=""></script>

        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <link href="" rel="stylesheet">

    <body>
        @yield('content')
    <script src="http://ift.tt/1XwG72U"></script>
        <script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
        <script src=""></script>
        <!-- Just to make our placeholder images work. Don't actually copy the next line! -->
        <script src=""></script>
        <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
        <script src=""></script>
      </body>
    </html>

and need above css and jquery pass to another blade file as @extends('layouts.app') and @section('content') how can do it??? without @extends('layouts.app') and @section('content') it is working but with @extends('layouts.app') and @section('content') it it not working.......



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire