Nuxt3 : prismic installation KO with async module

Hi,
The installation of Prismic doesn't work on Nuxt3 when nuxt.config.js contains async module :
Ex:

modules: [
"@kevinmarrec/nuxt-pwa",
async (options, nuxt) => {
nuxt.hooks.hook("vite:extendConfig", (config) =>
// @ts-ignore
config.plugins.push(vuetify())
);
},
],

You can reproduce by cloning this repo :
GitHub - BayBreezy/nuxt3-vuetify3-starter: Template to get you up and running with Nuxt 3 & Vuetify 3 and execute :
npm install
npx @slicemachine/init@latest

If you comment the async module, it works again.

Eric;

Hello @ricou

Thanks for reaching out to us.

Have you created a nuxt.js project from scratch and run this command npx @slicemachine/init@latest? Or do you run the command npx @slicemachine/init@latest in the already created project? Can you share the steps?

Thanks,
Priyanka

I ran this command "npx @slicemachine/init@latest" in the already project.

Hello @ricou

Can you paste the complete nuxt.config.js file?

Thanks,
Priyanka

Thanks @ricou. I'll let my dedicated to know about the dependency.