From c2266eb321fdd3ff9249bc262d9b207c8b726b91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20G=C3=A1zquez?= Date: Wed, 13 Oct 2021 14:57:25 +0200 Subject: [PATCH] Replace require with import --- src/truncate.vue | 68 +++++++++++++++++++++++++++--------------------- 1 file changed, 39 insertions(+), 29 deletions(-) diff --git a/src/truncate.vue b/src/truncate.vue index 198ca18..a335cce 100644 --- a/src/truncate.vue +++ b/src/truncate.vue @@ -7,32 +7,40 @@ + @click="toggle" + > + {{ clamp }} +
- + + @click="toggle" + > + {{ clamp }} +
{{ text }} + @click="toggle" + > + {{ less }} +
-
+
+ @click="toggle" + > + {{ less }} +

{{ h2p(text) }}

@@ -41,19 +49,19 @@