Wifi Plugin with Vue.js

Hello together,

I am struggling to find out how to set up the current wifi2 plugin from capacitor/cordova with vue.js here:
(is it even possible?)

Has anyone already tried it or any useful tips for me? Highly appreciated :slight_smile:

I have a clean cli installation with vue and recognized that the above docs tackle angular && react. I just want to know if it’s possible to set it up with vue somehow (for now it squaks in forcing me to install @angular/core)

Thanks in advance

In case you stumble upon this thread, this is how I’ve managed it.

The error in your vue app regarding the angular/core can be resolved by using the proper import

import { WifiWizard2 } from '@awesome-cordova-plugins/wifi-wizard-2';

instead of

import { WifiWizard2 } from '@awesome-cordova-plugins/wifi-wizard-2/ngx';

I had to install an extra dependency called es6-promise-plugin via npm (here).

And that’s it, the wifiWizard2 can now be used without any errors, simple as pie ¯_(ツ)_/¯