From 0b85205120848f07ce21f87ca659afcc2b54a5aa Mon Sep 17 00:00:00 2001 From: Dan Forbes Date: Wed, 23 Oct 2024 12:06:35 -0700 Subject: [PATCH] Various Small Fixes Closes #12 Closes #14 --- README.md | 6 +++--- package.json | 1 + templates/demo/web3js-react-dapp-demo/src/App.tsx | 2 +- templates/min/web3js-vue-dapp-min/package.json | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7df12ab..301762d 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,13 @@ Options: ## Template Types -Two types of templates are provided. [Minimal templates](./templates/min) are +Two types of templates are provided. [Minimal templates](templates/min) are designed for users that want to build their own front-end project (dApp) without the need to remove unnecessary boilerplate code. -[Demonstration templates](./templates/demo) are designed to showcase how Web3.js +[Demonstration templates](templates/demo) are designed to showcase how Web3.js can be used to build dApps. -## Front-End Framework +## Front-End Frameworks This utility supports the following front-end frameworks: diff --git a/package.json b/package.json index 140668d..99bec7d 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "ChainSafe " ], "license": "MIT", + "repository": "github:web3/create-web3js-dapp", "devDependencies": { "ts-node": "^10.9.2", "tsup": "^8.3.0", diff --git a/templates/demo/web3js-react-dapp-demo/src/App.tsx b/templates/demo/web3js-react-dapp-demo/src/App.tsx index 9cf7941..5152cf1 100644 --- a/templates/demo/web3js-react-dapp-demo/src/App.tsx +++ b/templates/demo/web3js-react-dapp-demo/src/App.tsx @@ -42,7 +42,7 @@ function App() { return (
-

Web3.js + React Minimal dApp Template

+

Web3.js + React Demonstration dApp

This is a sample project that demonstrates using{" "} Web3.js with the{" "} diff --git a/templates/min/web3js-vue-dapp-min/package.json b/templates/min/web3js-vue-dapp-min/package.json index 220cb0c..44fb062 100644 --- a/templates/min/web3js-vue-dapp-min/package.json +++ b/templates/min/web3js-vue-dapp-min/package.json @@ -11,6 +11,7 @@ "dev": "vite", "build": "run-p type-check \"build-only {@}\" --", "preview": "vite preview", + "start": "npm run preview", "test:unit": "vitest", "build-only": "vite build", "type-check": "vue-tsc --build --force",