style(prettier): run tool
This commit is contained in:
+2
-2
@@ -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,7 +22,7 @@ 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>
|
||||||
|
|||||||
@@ -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("");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user