Skip to content

Possible to use this directive with nuxt. js  #9

@cfab

Description

@cfab

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 at components/PostTags.vue)

Any example ?
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions