Giter VIP home page Giter VIP logo

Comments (5)

iliyaZelenko avatar iliyaZelenko commented on May 27, 2024

I am almost completely sure that an error occurs at this place.

Webpack has nothing to do with it. Could you show what code you are responsible for installing this plugin. I mean this code (Vue.use(CoolSelectPlugin)).

from vue-cool-select.

dubonzi avatar dubonzi commented on May 27, 2024

I mean this code (Vue.use(CoolSelectPlugin)).

It might be because he is importing the component without installing the plugin. You define options only during the plugin installation and from skimming the code I see that options is only ever used in one place. If thats the case you should make noData into a prop so that the component can work regardless of being installed or imported.

from vue-cool-select.

iliyaZelenko avatar iliyaZelenko commented on May 27, 2024

@dubonzi there is a point in your words, but since I made it work through the plugin, there is no sense in changing it.

For now I close the issue, because I have not received more information from @signmeuptwice.

from vue-cool-select.

signmeuptwice avatar signmeuptwice commented on May 27, 2024

@iliyaZelenko I was also using it as a plugin like import { CoolSelect } from ... NOT using (Vue.use(CoolSelectPlugin))
Used to work fine before then broken since update.
I have since moved to another select plugin so not on it anymore but the bug remains.

from vue-cool-select.

iliyaZelenko avatar iliyaZelenko commented on May 27, 2024

As far as I can see, the code for installing the plugin was needed before. If you did not write the plugin installation code before, then this really did not cause an error, but in fact it is not the correct use, which caused your problem.

To solve this error is simple, it is to add the code Vue.use(CoolSelectPlugin) and that’s it.

@signmeuptwice Thank you for creating this question, it can help others who updated this package.

from vue-cool-select.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.