style(prettier): run tool

This commit is contained in:
2025-12-20 16:08:45 +01:00
parent 07b35aad8e
commit f324854d42
3 changed files with 87 additions and 84 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { ref, onMounted } from "vue"; import { ref, onMounted } from "vue";
import LucideIcon from "./components/LucideIcon.vue"; import LucideIcon from "./components/LucideIcon.vue";
import CustomButton from "./components/CustomButton.vue" import CustomButton from "./components/CustomButton.vue";
const visible = ref<boolean>(false); const visible = ref<boolean>(false);
@@ -22,11 +22,11 @@ onMounted(() => {
<br /> <br />
<p> <p>
Fill this page with <i>whatever</i> you're going to develop. Fill this page with <i>whatever</i> you're going to develop.
<br> <br />
<b>Then enjoy!</b> <b>Then enjoy!</b>
</p> </p>
<CustomButton> <CustomButton>
<LucideIcon name="square-arrow-right"/> This is a sample button yay <LucideIcon name="square-arrow-right" /> This is a sample button yay
</CustomButton> </CustomButton>
<br /> <br />
<hr /> <hr />
+4 -1
View File
@@ -18,7 +18,10 @@ const props = withDefaults(defineProps<Props>(), {
function kebab2camel(kebab: string): string { function kebab2camel(kebab: string): string {
return kebab return kebab
.split("-") .split("-")
.map((item) => item.charAt(0).toUpperCase() + item.slice(1).toLowerCase()) .map(
(item) =>
item.charAt(0).toUpperCase() + item.slice(1).toLowerCase(),
)
.join(""); .join("");
} }