Skip to main content
Solved

Installing/configuring Purchases SDK with Ionic and Vue


Forum|alt.badge.img+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.

Best answer by sharif

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?

View original
Did this post help you find an answer to your question?

4 replies

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 513 replies
  • Answer
  • July 21, 2021

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?


Forum|alt.badge.img+1
  • Author
  • New Member
  • 1 reply
  • July 22, 2021

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


Forum|alt.badge.img+1
Graham wrote:

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.


Forum|alt.badge.img+1
sharif wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings