Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

How do you use vuera and VuePlugin using createApp? #166

Open
alamorre opened this issue Jan 8, 2023 · 3 comments
Open

How do you use vuera and VuePlugin using createApp? #166

alamorre opened this issue Jan 8, 2023 · 3 comments

Comments

@alamorre
Copy link

alamorre commented Jan 8, 2023

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
Copy link

vitjaz commented Feb 2, 2023

Same issue. Any variants?

@patrickspiegel
Copy link

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

@cwadrupldijjit
Copy link
Collaborator

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).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants