Recently, I stumbled upon an intriguing Vue.js module named v-cupertino. However, I couldn't find any guidance on how to integrate it with Nuxt.js.
I attempted the following steps:
import Vue from 'vue';
import VCupertino from "v-cupertino";
Vue.component('v-cupertino', VCupertino);
and then added:
plugins: [{src: '~/plugins/v-cupertino.js', ssr: false}]
Unfortunately, this approach didn't work as expected. I encountered 10 warnings related to missing components in 'vue,' resulting in Nuxt crashing.
Here's a snippet of the warning messages from the Terminal:
WARN in ./node_modules/v-cupertino/dist/v-cupertino.esm.js friendly-errors 18:59:31
"export 'onMounted' was not found in 'vue' friendly-errors 18:59:31
friendly-errors 18:59:31
WARN in ./node_modules/v-cupertino/dist/v-cupertino.esm.js friendly-errors 18:59:31
"export 'openBlock' was not found in 'vue'
Have any of you had success working with similar modules before?
Thank you, Radek.