less has been used with vue before, but now it has to be used with jquery. How to use it?
1. Use less.cmd to generate css
2. Or
<!DOCTYPE html>
<html>
<head>
<title>nav</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=9">
<link rel="stylesheet/less" href="less/lianxi.less">
<script src="js/less.min.js"></script>
</head>
<body>
<div class="father">
fjlsjflsfj
</div>
</body>
</html>
so compile directly at load time
3. The project is mobile, is it particularly energy-consuming when compiling on the mobile side when loading?
do you know? please ask!