Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add javascript and bitcoin examples #3862

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ npx appkit-cli
Provide examples of some paramaeters:

```bash
appkit-app [project-name]
appkit-cli [project-name]
```

For example:

```bash
appkit-app my-app
appkit-app
appkit-cli my-app
appkit-cli
```

## Linking/Unlinking for Local Development
Expand Down
6 changes: 4 additions & 2 deletions packages/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ async function questionFramework() {
choices: [
{ name: 'Next.js', value: 'nextjs' },
{ name: 'React', value: 'react' },
{ name: 'Vue', value: 'vue' }
{ name: 'Vue', value: 'vue' },
{ name: 'Javascript', value: 'javascript' }
]
}
]
Expand All @@ -36,11 +37,12 @@ async function questionLibrary() {
{
type: 'list',
name: 'library',
message: 'wagmi, ethers, solana or EVM+Solana ?',
message: 'wagmi, ethers, solana, bitcoin or EVM+Solana ?',
choices: [
{ name: 'wagmi', value: 'wagmi' },
{ name: 'ethers', value: 'ethers' },
{ name: 'Solana', value: 'solana' },
{ name: 'Bitcoin', value: 'bitcoin' },
{ name: 'Multichain', value: 'multichain' }
]
}
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ export function generateRepoUrl(answerFramework, answerLibrary) {
return `reown-com/appkit-web-examples/react/react-${answerLibrary.library}`
case 'vue':
return `reown-com/appkit-web-examples/vue/vue-${answerLibrary.library}`
case 'javascript':
return `reown-com/appkit-web-examples/javascript/javascript-${answerLibrary.library}`
default:
return 'reown-com/appkit-web-examples/react/react-wagmi'
}
Expand Down
Loading