Twitter bootstrap 如何修复我的引导和图像路径,使其与laravel一起激活?
所以我在我的公用文件夹(laravel)中使用引导模板。当我打开视图时,引导布局和图像不会被激活。我认为这是因为道路不对。这是我的密码。我不想用刀锋。有什么办法可以让这条路走对吗?多谢各位Twitter bootstrap 如何修复我的引导和图像路径,使其与laravel一起激活?,twitter-bootstrap,laravel,path,Twitter Bootstrap,Laravel,Path,所以我在我的公用文件夹(laravel)中使用引导模板。当我打开视图时,引导布局和图像不会被激活。我认为这是因为道路不对。这是我的密码。我不想用刀锋。有什么办法可以让这条路走对吗?多谢各位 <head> <meta charset="utf-8"> <title>Aurora XXI Batch</title> <meta name="description" content="Worthy a Bootstrap-b
<head>
<meta charset="utf-8">
<title>Aurora XXI Batch</title>
<meta name="description" content="Worthy a Bootstrap-based, Responsive HTML5 Template">
<meta name="author" content="htmlcoder.me">
<!-- Mobile Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Favicon -->
<link rel="shortcut icon" href="images/ico/favicon.ico"/>
<!-- Web Fonts -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway:700,400,300' rel='stylesheet' type='text/css'>
<!-- Bootstrap core CSS -->
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
<!-- Font Awesome CSS -->
<link href="fonts/font-awesome/css/font-awesome.css" rel="stylesheet">
<!-- Plugins -->
<link href="css/animations.css" rel="stylesheet">
<!-- Worthy core CSS file -->
<link href="css/style.css" rel="stylesheet">
<!-- Custom css -->
<link href="css/custom.css" rel="stylesheet">
</head>
极光XXI批次
如果使用刀片模板,则可以使用此选项
<link href="{{ asset('bootstrap/css/bootstrap.css') }}" rel="stylesheet">
在L5.1中,asset()
助手是否仍然存在?我在文档或helpers.php
文件中找不到它,但这并不意味着它不在那里。不管是哪种方式,一个更面向对象的替代方法是使用UrlGenerator的资产
方法:啊,是的,它在基金会/helpers.php
文件中,而不是支持/helpers.php
文件中。但是我不想使用blade Template你仍然可以使用php的
而不是blade。