Open ezoterik opened 1 year ago
Switched from beta3 to beta5 and I am now getting Failed to resolve component: v-select
. Is it coming from this missing 'src' directory?
@joubu can you post a reproduction?
@joubu can you post a reproduction?
import { createApp } from "vue";
import vSelect from "vue-select";
import App from "./App.vue";
const app = createApp(App);
app.component("v-select", vSelect);
app.mount("#app");
This works in beta3, not beta5 where I am seeing
[Vue warn]: Failed to resolve component: v-select
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
at <App>
I guess #1701 will fix this, thanks!
Describe the bug
README.md file has this text:
But I don't have the
src
directory (I have onlydist
folder) because of the added option "files" in thepackage.json
file (in v4.0.0-beta.4)Expected behavior
I'm not sure if this is a bug. This may have been intended, but the documentation has not been updated. Is there any way to add a dependency to my project along with the
src
directory?