less-ver-controller
v0.0.2
Published
lessVerController ===================================
Downloads
2
Readme
lessVerController
Clear a less version cache by storage, if you want to use .less
on production.
Install
bower install less-ver-controller
Install node modules
npm install
Dependencies
Support
- IE8+
- chrome
- firefox
Usage
Set a ver by lessVerController.ver()
, it will auto-remove cache.
<script src="lessVerController.js"></script>
<script>lessVerController.ver("v0.0.1")</script>
<link rel="stylesheet/less" type="text/css" href="index.less">
<script>
less = {
env:"production"
}
</script>
<script src="less.js/dist/less-1.7.5.min.js "></script>
DEMO
gulp server
Build
gulp