Fixing an error that occurs when running Reformat File with Svelte Prettier in PhpStorm
When I run Reformat File on this code, The code ends up with a problem like this. <https://github.com/sveltejs/prettier plugin svelte/issues/240 <https://github
GGAMI
import { View } from '@nativescript/core';
import { NativeViewElementNode } from 'svelte-native/dom';
let view: NativeViewElementNode<View>;
export async function animateOut() {
return view.nativeElement.animate({
opacity: 0,
duration: 300,
});
}
</script>
<gridlayout {...$$restProps} backgroundColor="white" bind:this={view}>
<label class="h-center v-center text-2xl font-bold">
<formattedString>
<span class="fas text-[#3A53FF]" text="" />
<span class="text-pink-400" text=" loading" />
</formattedString>
</label>
</gridlayout>