https://github.com/thirdweb-example/vite-starter
thirdweb SDK + Vite
https://github.com/thirdweb-example/vite-starter
Last synced: 9 months ago
JSON representation
thirdweb SDK + Vite
- Host: GitHub
- URL: https://github.com/thirdweb-example/vite-starter
- Owner: thirdweb-example
- License: apache-2.0
- Created: 2024-02-23T16:06:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-29T14:22:27.000Z (almost 2 years ago)
- Last Synced: 2024-04-21T13:54:39.054Z (almost 2 years ago)
- Language: TypeScript
- Homepage: https://vite-starter.thirdweb-example.com
- Size: 17.6 KB
- Stars: 2
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

# vite-starter
Starter template to build onchain applications with [thirdweb](https://thirdweb.com) and [vite](https://vitejs.dev/).
## Features
- thirdweb & vite pre-installed and configured to reduce setup steps
- ConnectButton to onboard users to your application
## Installation
Install the template using [thirdweb create](https://portal.thirdweb.com/cli/create)
```bash
npx thirdweb create app --vite
```
## Environment Variables
To run this project, you will need to add the following environment variables to your .env file:
`CLIENT_ID`
To learn how to create a client ID, refer to the [client documentation](https://portal.thirdweb.com/typescript/v5/client).
## Run locally
Install dependencies
```bash
yarn
```
Start development server
```bash
yarn dev
```
Create a production build
```bash
yarn build
```
Preview the production build
```bash
yarn preview
```
## Additional Resources
- [Documentation](https://portal.thirdweb.com/typescript/v5)
- [Templates](https://thirdweb.com/templates)
- [YouTube](https://www.youtube.com/c/thirdweb)
- [Blog](https://blog.thirdweb.com)
## Need help?
For help or feedback, please [visit our support site](https://thirdweb.com/support)