This template should help get you started developing with Vue 3 in Vite.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
npm install
npm run dev
npm run build
go to : https://github.com/rishavvajpayee/truffle clone the project
install truffle
npm i truffle
compile and migrate your contract through truffle ๐ฅ
truffle compile
truffle migrate
when you get the migrated output look for contract address and replace contractAddress in views/ContractView.vue with that.
similarly you'll get the ABI from build folder of (https://github.com/rishavvajpayee/truffle) replace ContractABI in views.ContractView.vue
thanks ๐