Developer-DAO / web3-ui

A React UI library for Web3
https://web3-ui.vercel.app/
MIT License
763 stars 152 forks source link

Setup a Next.js example #182

Closed Dhaiwat10 closed 2 years ago

Dhaiwat10 commented 2 years ago

At the moment, we don't have an example app demonstrating our project. We should have one. (The example folder in the main branch is broken and doesn't do anything)

I tried creating a Next.js app inside the example folder at the root of the project using yarn create next-app example --ts and ended up with the usual Next.js starter template. I then did yarn add @web3-ui/core inside the example folder. This broke the app. (see SS below) image

Can someone help me fix this so that we can import stuff from our packages and this example add doesn't break?

Ibby-devv commented 2 years ago

Did you add Web3ui/core as a dependancy?