How to integrate PrimeVue with vue 3.0.0-rc.8

UI Components for Vue
Post Reply
thaitieuloi
Posts: 1
Joined: 03 Sep 2020, 16:32

03 Sep 2020, 16:37

I can't import interface from primevue
Ex:

import ToastService from "primevue/toastservice";
const app = createApp(App);

app.component("ToastService", ToastService);

app.mount("#app");
export default app

https://scontent-sin6-1.xx.fbcdn.net/v/ ... e=5F76340A

error: Uncaught TypeError: _vue.default is not a constructor

Could you help me, please, thanks.

cagatay.civici
Prime
Posts: 18355
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

19 Sep 2020, 12:58

Currently we're working on Vue 3 compatibility, by late September the first RC will be available.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest