使用基金會5幾個小項目後,我想切換到Bootstrap 3的薩斯版本,但我卡在設置和無法找到互聯網上的「如何」...設置Bootsrap 3 Sass版本,不可能?
我已經下載安裝了bootstrap-sass-master,ruby和compass。 然後我用「指南針創建MyProject」的Ruby命令提示符。 然後,我將bootstrap-sass-master \ vendor \ assets中的所有內容複製到由羅盤創建的MyProject文件夾中。 然後,我使用來自bootstrap網站的模板中的代碼在該文件夾內創建了一個index.html。 這是頭的外觀:
<!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">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../assets/ico/favicon.ico">
<title>Starter Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
<link href="/stylesheets/screen.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="starter-template.css" rel="stylesheet">
<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
基本上我跟着這個兩歲的例子: http://webdesign.tutsplus.com/articles/quick-tip-working-with-sass-and-bootstrap--webdesign-9153
但我現在卡住了,因爲我沒有style.css的只是一個screen.css但withthat文件時,它不起作用... 我的index.html顯示沒有應用任何樣式。
你能幫我,我確定我做錯了什麼設置了一切......