You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe I've followed your instructions for installation and usage on the v2 branch, but get [Vue warn]: A plugin must either be a function or an object with an "install" function. when I try to use it.
For your reference, here's my main.js:
import{createApp}from"vue";import{pluginasVueInputAutowidth}from'vue-input-autowidth';importAppfrom"./App.vue";importrouterfrom"./router";import"./assets/main.css";constapp=createApp(App);app.use(VueInputAutowidth);// this is the line with the warningapp.use(router);app.mount("#app");
This problem seems to prevent me from using your plugin. I attempt to use it in a component I get:
[Vue warn]: Failed to resolve directive: autowidth
at <HomeView onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > >
at <RouterView>
at <App>
The text was updated successfully, but these errors were encountered:
Thank you for making this great plugin!
I believe I've followed your instructions for installation and usage on the v2 branch, but get
[Vue warn]: A plugin must either be a function or an object with an "install" function.
when I try to use it.For your reference, here's my
main.js
:This problem seems to prevent me from using your plugin. I attempt to use it in a component I get:
The text was updated successfully, but these errors were encountered: