wallet-connect-web-examples/advanced/dapps/vue-dapp-auth
Glitch deb123f283
restructure (#345)
* restructure

* udpate readme links
2023-12-13 15:36:25 -03:00
..
assets/scss restructure (#345) 2023-12-13 15:36:25 -03:00
components restructure (#345) 2023-12-13 15:36:25 -03:00
composables restructure (#345) 2023-12-13 15:36:25 -03:00
pages restructure (#345) 2023-12-13 15:36:25 -03:00
plugins restructure (#345) 2023-12-13 15:36:25 -03:00
public restructure (#345) 2023-12-13 15:36:25 -03:00
stores restructure (#345) 2023-12-13 15:36:25 -03:00
tailwind restructure (#345) 2023-12-13 15:36:25 -03:00
.env.example restructure (#345) 2023-12-13 15:36:25 -03:00
.eslintrc restructure (#345) 2023-12-13 15:36:25 -03:00
.gitignore restructure (#345) 2023-12-13 15:36:25 -03:00
app.config.ts restructure (#345) 2023-12-13 15:36:25 -03:00
app.vue restructure (#345) 2023-12-13 15:36:25 -03:00
nuxt.config.ts restructure (#345) 2023-12-13 15:36:25 -03:00
package.json restructure (#345) 2023-12-13 15:36:25 -03:00
README.md restructure (#345) 2023-12-13 15:36:25 -03:00
tailwind.config.js restructure (#345) 2023-12-13 15:36:25 -03:00
tsconfig.json restructure (#345) 2023-12-13 15:36:25 -03:00
yarn.lock restructure (#345) 2023-12-13 15:36:25 -03:00

Vue Auth dApp

Stack

  • 💚 Vue 3
  • ⛰️ Nuxt 3
  • 🍍 Pinia
  • 🟦 TypeScript
  • 💨 TailwindCSS
  • 🔗 ethers.js

Overview

This example aims to demonstrate dapp-facing use cases enabled by WalletConnect Auth Client.

...And show that you can easily use WalletConnect with any framework.

Running locally

Install the app's dependencies:

yarn

Set up your local environment variables by copying the example into your own .env file:

cp .env.example .env

Your .env now contains the following environment variables:

Also, the default relay server WALLETCONNECT_RELAY_URL is set. You can change it to use your own instance.

Development Server

Start the development server on http://localhost:3000

yarn dev

Production

Build the application for production:

yarn build

Locally preview production build:

yarn preview

Checkout the deployment documentation for more information.