akxcv/vuera

How do you use vuera and VuePlugin using createApp?

alamorre opened this issue · 3 comments

Hey so it seems like later stages of Vue use createApp over import Vue from "vue"

Which makes the usage of this Plugin different. I tried the following code in a new project with Vite.js with no luck

import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";

import { VuePlugin } from "vuera";

const app = createApp(App);
app.use(VuePlugin);
app.mount("#app");

The error is "Cannot read properties of undefined (reading 'constructor')"

Any ideas on what's wrong?

vitjaz commented

Same issue. Any variants?

@alamorre @vitjaz please checkout the readme first. This project has been abandoned and a new project is available for vue 3.

I do plan to come back and work on this a bit more. I want to make the transition between the two libraries/frameworks to be more seamless and work better with their respective newer features. I began working on an update that would do that, but life has been difficult since I took this on, so naturally this project fell to the wayside a bit.

I'll be keeping a closer eye on this project and updating the issues and PRs with the latest progress. I'm sorta wondering if pushing this package to a new major release would be beneficial (major because of the amount of changes that will likely be necessary).