refactor(clean): removed useless br tags
This commit is contained in:
1 parent
c45bce36f9
commit
74073f5038
13 files changed
+21
-43
No files matched your search
@@ -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