Update nuxt to version 4 (#92)
* Nuxt 3.17.4 and other dependencies updated * Temporary fix (maybe) of the Inline Code * Update nuxt to version 4
This commit is contained in:
6
app/utils/helper.ts
Normal file
6
app/utils/helper.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export function makeFirstCharUpper(val: string) {
|
||||
if (val === '') return val
|
||||
const firstChar = val.at(0)?.toLocaleUpperCase() || ''
|
||||
const otherChar = val.slice(1)
|
||||
return firstChar + otherChar
|
||||
}
|
||||
Reference in New Issue
Block a user