vue-css-format

1.0.4 • Public • Published

vue-css-format

vue-css-format is a tool that automatically format your css code, support css、less、scss and vue

usage

  • install
npm install vue-css-format --save-dev
  • write the following js file
var format = require('vue-css-format');
var path = require('path')
 
format(path.resolve()) // the directory want to format
  • run the js code
node index.js

case

input

a {
    height: 10px;
    b{height:10px;}
}

ouput

a {
    height: 10px;
 
    b {
        height: 10px;
    }
}

feature

License

The MIT License

Package Sidebar

Install

npm i vue-css-format

Weekly Downloads

6

Version

1.0.4

License

MIT

Unpacked Size

9.72 kB

Total Files

13

Last publish

Collaborators

  • steins