How to integrate bluetooth serial to ionic vue

After running this commands
npm install cordova-plugin-bluetooth-serial
npm install @awesome-cordova-plugins/bluetooth-serial
ionic cap sync
I imported this library in main.ts:
import { BluetoothSerial } from ‘@awesome-cordova-plugins/bluetooth-serial/ngx’;
it gives the error cannot find “@ionic-native/bluetooth-serial/ngx”
In main.ts and Homepage.vue I tried this:
import {Plugins} from “@capacitor/core”;
const { BluetoothSerial } = Plugins;
but it looks like it’s an inappropriate way