javascript - How can I get less.js and bootstrap to work? -
i'm trying bootstrap , less.js working can't succeed... have not worked less in past, i'm wondering if i'm missing something... runing on synology server. on runtime seems generate boostrap css should "less:sandbox-css-bootstrap" append html does'nt value variables.less
here's head
<meta charset="utf-8"> <style> body { padding-top: 60px; /* 60px make container go way bottom of topbar */ } </style> <script type="text/javascript" src="js/jquery.min.js"></script> <script src="js/bootstrap.js"></script> <link rel="stylesheet/less" type="text/css" href="css/bootstrap.less"> <script type="text/javascript" src="js/less-1.3.3.min.js"></script> <!-- html5 shim, ie6-8 support of html5 elements --> <!--[if lt ie 9]> <script src="../assets/js/html5shiv.js"></script> <![endif]-->
does know doing wrong? thanx in advance
change order of initialization. place dependencies above others. place bootstrap.less above other css's
Comments
Post a Comment