style(prettier): run tool
This commit is contained in:
+3
-3
@@ -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 />
|
||||||
|
|||||||
@@ -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