nuxt-web3-wallets
v1.3.0
Published
Web3 wallets for Nuxt3
Downloads
37
Readme
Nuxt Web3 Wallets
Nuxt Web3 Wallets for connect dApp with wallets.
Quick Setup
- Add
nuxt-web3-wallets
dependency to your project
# Using pnpm
pnpm add nuxt-web3-wallets -D
# Using yarn
yarn add nuxt-web3-wallets --dev
# Using npm
npm install nuxt-web3-wallets --save-dev
- Add
nuxt-web3-wallets
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: ["nuxt-web3-wallets"],
vite: {
// Due to cjs build of @walletconnect/ethereum-provider, need to add this line to nuxt.config.ts
optimizeDeps: {
include: ['@walletconnect/ethereum-provider']
}
}
});
That's it! You can now use nuxt-web-wallets in your Nuxt app ✨
Development
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release