mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-20 06:55:06 -04:00
refactor(clean): removed useless br tags
This commit is contained in:
parent
c45bce36f9
commit
74073f5038
13 changed files with 21 additions and 43 deletions
|
@ -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" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue