vue-resize-text icon indicating copy to clipboard operation
vue-resize-text copied to clipboard

Possible to use this directive with nuxt. js

Open cfab opened this issue 3 years ago • 2 comments

I've tried to create a plugin vue-resize-text.client.js but when I apply the directive to some text, I get a warning in the console (terminal)

in ./node_modules/Vue/dist/vue.runtime.esm.js friendly-errors 18:32:57

There are multiple modules with names that only differ in casing. friendly-errors 18:32:57 This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers:

  • /Users/f/Sites/poche21/node_modules/Vue/dist/vue.runtime.esm.js Used by 2 module(s), i. e. /Users/f/Sites/poche21/node_modules/babel-loader/lib/index.js??ref--2-0!/Users/f/Sites/poche21/plugins/vue-resize-text.client.js
  • /Users/f/Sites/poche21/node_modules/vue/dist/vue.runtime.esm.js Used by 145 module(s), i. e. /Users/f/Sites/poche21/node_modules/babel-loader/lib/index.js??ref--2-0!/Users/f/Sites/poche21/.nuxt/client.js

and in the browser console I have another warning:


vue.runtime.esm.js?2b0e:619 [Vue warn]: Failed to resolve directive: resize-text

(found in <PostTags> at components/PostTags.vue)

Any example ? Thank you.

cfab avatar Sep 22 '21 16:09 cfab

import Vue from 'vue'

!==

import Vue from 'Vue'

em-piguet avatar Sep 22 '21 20:09 em-piguet

Shame on me ;-)

Le 22 sept. 2021 à 22:11, em-piguet @.***> a écrit :

import Vue from 'vue'

!==

import Vue from 'Vue'

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JayeshLab/vue-resize-text/issues/9#issuecomment-925293081, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALGLKD2J3M52QSKZULPE6I3UDIZ5LANCNFSM5ERXQU5Q. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

cfab avatar Sep 22 '21 21:09 cfab