- I’m following instructions to use web3auth instead of wallet connect (https://docs.moralis.io/moralis-dapp/users/web3-login/web3auth). I’m using vue-cli which instead of creating a webpack.config.js uses a vue.config.js:
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
})
as soon as Install the webAuth npm package Vue is trowing 17 errors:
I’m assuming it;s because Vue Cli uses the latests version of webpack (5) because I found this on Moralis page (https://www.npmjs.com/package/moralis):
I’m unsure on how to translate the webpack.config.js instructions, to the vue.config.js instructions.
I know this is probably a basic JS thing but I’m stuck.
I’m also unsure on how to force vue-cli to use webpack4 instead, which could probably also solve my problem.
Is there anybody out there that could point me in the right direction?
many thanks in advance