Solved

Installing/configuring Purchases SDK with Ionic and Vue

  • 21 July 2021
  • 4 replies
  • 292 views

Badge +1

I’m trying out RevenueCat on my Ionic/Vue app. I see there are installation docs for Angular and React but not for Vue. Has anyone went through the install/configure process for Ionic and Vue? Or are there additional docs or blogs out there that could assist? Thanks.

icon

Best answer by sharif 21 July 2021, 23:02

View original

4 replies

Userlevel 5
Badge +9

Hey there! We’ll get a sample for Ionic Vue up on the docs but the React snippet is based on Ionic’s Quickstart for React guide. It seems like there’s a similar Quickstart guide for Vue. Since React/Vue/Angular are all just frontend frameworks, there shouldn’t be any problems installing cordova-plugin-purchases and @ionic-native/purchases and following the Vue quickstart. Have you run into any issues with the installation process?

Badge +1

Hey. You’re right, the React guide provides enough info for installing with Vue, but it would be great to have an Ionic Vue sample in the docs for clarity. I’ve managed to get the through the installation process with Vue. Thanks

Badge +1

Hey. You’re right, the React guide provides enough info for installing with Vue, but it would be great to have an Ionic Vue sample in the docs for clarity. I’ve managed to get the through the installation process with Vue. Thanks

Hi, can you share your solution? I cannot figure it out where to import purchases from. @ionic-native/purchases fails with error.

Badge +1

Hey there! We’ll get a sample for Ionic Vue up on the docs but the React snippet is based on Ionic’s Quickstart for React guide. It seems like there’s a similar Quickstart guide for Vue. Since React/Vue/Angular are all just frontend frameworks, there shouldn’t be any problems installing cordova-plugin-purchases and @ionic-native/purchases and following the Vue quickstart. Have you run into any issues with the installation process?

Hi, it’s been 6 months, still no Vue in the docs. High time it’s been added.

Reply