https://github.com/ehanlin/lessvercontroller
Clear a less cache by version controller
https://github.com/ehanlin/lessvercontroller
Last synced: about 2 months ago
JSON representation
Clear a less cache by version controller
- Host: GitHub
- URL: https://github.com/ehanlin/lessvercontroller
- Owner: eHanlin
- License: mit
- Created: 2014-09-05T09:02:42.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-17T06:28:54.000Z (over 11 years ago)
- Last Synced: 2025-02-12T22:01:51.754Z (over 1 year ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
lessVerController
===================================
Clear a less version cache by storage, if you want to use `.less` on production.
## Install
```bash
bower install less-ver-controller
```
## Install node modules
```bash
npm install
```
## Dependencies
* [less.js](http://lesscss.org/)
## Support
* IE8+
* chrome
* firefox
## Usage
Set a ver by `lessVerController.ver()`, it will auto-remove cache.
```html
lessVerController.ver("v0.0.1")
less = {
env:"production"
}
```
## DEMO
```bash
gulp server
```
## Build
```bash
gulp
```