Hey there, I've tried to use your beforeMount function as mentioned in this ticket to register global plugins for vue 2, but I am trying to use it an js instead of ts.
index.js
import { beforeMount } from '@playwright/experimental-ct-vue2/hooks'; // <= "Resolve error: Cannot find module './node_modules/@playwright/experimental-ct-vue2/hooks.mjs'"
import { registerPlugins } from '@/register';
beforeMount(({ app }) => {
registerPlugins(app);
});
Is that not possible yet or do I have to use it in another way?
Hey there, I've tried to use your
beforeMountfunction as mentioned in this ticket to register global plugins for vue 2, but I am trying to use it an js instead of ts.index.js
Is that not possible yet or do I have to use it in another way?