chore: reformat entire project with prettier, add prettierignore

This commit is contained in:
2025-07-16 13:10:28 -05:00
parent 3f2e0fb889
commit 75e5373fd2
31 changed files with 5583 additions and 2055 deletions
+6 -6
View File
@@ -15,7 +15,7 @@
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import { defineComponent } from 'vue';
export default defineComponent({
name: 'DynamicSpeaker',
@@ -28,7 +28,7 @@ export default defineComponent({
computed: {
texts() {
return this.text.split(/({[^}]+})/).map((item) => {
const id = item.substring(1, item.length - 1)
const id = item.substring(1, item.length - 1);
if (item.startsWith('{'))
return {
text: this.characters[id],
@@ -36,12 +36,12 @@ export default defineComponent({
name: 'Character',
params: { character: id },
},
}
else return item
})
};
else return item;
});
},
},
})
});
</script>
<style scoped></style>