VueJS Plugin: IDEA applies different Javascript code style within the <script>-section of .vue files?
I'm using the VueJS plugin in combination with vue-loader. This means my source files look like this:
Foo.vue
<template>
html code
</template>
<script>
es2015 code
</script>
I'm a bit puzzled: I can reformat the script part using ctrl-alt-l. But the results seem to differ from the code settings applied to plain `.js` files. Also intentions does not seem to work.
Any idea what settings is applied and how I can achieve to get the same Javascript inspections as in normal files?
请先登录再写评论。