mirror of
https://github.com/Art051/it-tools.git
synced 2025-08-11 19:29:03 +00:00
refactor(clean): removed useless br tags
This commit is contained in:
committed by
Corentin THOMASSET
parent
c45bce36f9
commit
74073f5038
@@ -1,9 +1,8 @@
|
||||
<template>
|
||||
<n-card>
|
||||
<n-input v-model:value="text" type="textarea" placeholder="Your text..." rows="5" />
|
||||
<br />
|
||||
<br />
|
||||
<n-space justify="space-around">
|
||||
|
||||
<n-space justify="space-around" mt-5>
|
||||
<n-statistic label="Character count" :value="text.length" />
|
||||
<n-statistic label="Word count" :value="text === '' ? 0 : text.split(/\s+/).length" />
|
||||
<n-statistic label="Line count" :value="text === '' ? 0 : text.split(/\r\n|\r|\n/).length" />
|
||||
|
||||
Reference in New Issue
Block a user