A Vue format & beautify tool.
it use customed jsbeautify
to format <template>
use prettier
& prettier-eslint
to format <script>
<style>
can Indent and Sort root tags
<template>
Html Attrapm install vue-fmt# orcd ~/.atom/packagegit clone https://github.com/voodeng/vue-fmt && cd vue-fmtnpm install
text.html.vue
sass,scss,less,postcss
use prettier
parser postcss
Keymaps
'.editor':'alt-l': 'vue-format:format'
Setting -> Sort -> Sort enable
! it will delete other tags
if enable, will resort your code by sortOrder
after formated,
only template, script, style
3 tags name support,
if only input 1 or 2, it will merged with origin code Sort
vue-fmt
is MIT-licensed
by Voodeng
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.